Go to the documentation of this file.
22 #ifndef SHAREDMEMORY_H_
23 #define SHAREDMEMORY_H_
81 int aSharedHeaderHandle;
82 int aSharedBufferHandle;
85 char* aSharedBufferPtr;
89 char* calcAddressPtr(
int pSlotId)
const;
90 void cleanSlot (
int pSlotId);
108 SharedMemory(
const string& pNameRef,
size_t pSlotSize,
int pSlotQty);
129 void releaseSlot(
int pSlotId);
147 ErrorCode write(
int pSlotId,
char* pSourcePtr ,
size_t pBufferSize);
148 ErrorCode read (
int pSlotId,
char* pDestinationPtr,
size_t pBufferSize);
163 void signal(
int pSlotId);