Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CascadeSharedMemZone.h

Go to the documentation of this file.
00001 //
00002 // CascadeSharedMemZone.h - header file for class CascadeSharedMemZone
00003 //
00004 // Copyright (c) 2003, Roku, LLC.  All rights reserved.
00005 //
00008 
00009 #ifndef _ROKU_INCLUDE_CASCADE_INTERPROCESS_CASCADESHAREDMEMZONE_H
00010 #define _ROKU_INCLUDE_CASCADE_INTERPROCESS_CASCADESHAREDMEMZONE_H
00011 
00012 #include <cascade/CascadeObject.h>
00013 
00025 class CascadeSharedMemZone : public CascadeObject
00026 {
00027 public:
00028         CascadeSharedMemZone();
00032     virtual ~CascadeSharedMemZone();
00036 public:
00037     bool Open(const char * pName, u32 nNumBytes, bool bCreateIfNecessary);
00056 
00057     bool Close();
00073 
00074         void * MapLock();
00088 
00089         bool Unlock();
00098 
00099     u32 GetSize();
00106 
00107     const char * GetName();
00114 
00115 private:
00116     class Zone;
00117     Zone * m_pZone;
00118 };
00119 
00120 #endif // #ifndef _ROKU_INCLUDE_CASCADE_INTERPROCESS_CASCADESHAREDMEMZONE_H
00121 
00123 //  LOG
00125 //  20-Jan-03   dwoodward       created
00126 //  20-Jan-03   dwoodward   1.0 STATUS: 10% complete
00127 //  23-Apr-03   dwoodward   added GetSize() and GetName()
00128 //  05-May-03   dwoodward   doxygenated
00129 //  01-Apr-05   dwoodward   use new opacity model

Generated on Sun Jul 24 14:27:17 2005 for Cascade Library by  doxygen 1.4.1