Back to the top page
Back to the upper page
Function members
public
- TArtSharedMemory(color(green){int}; shmkey, int size)
- ~TArtSharedmemory()
- int GetSize()
- int Read(char *buf, int size, int offset)
- int Delete()
- bool IsValid()
private
- int fKey
Shared memory key. - int fSize
Shared memory size. - int fID
Shared memory id. - bool fIsValid
Flag for validity of shared memory. - char* fSharedMemory Pointer to shared memory.
Function documents
- TArtSharedMemory(int shmkey, int size)
Generate shared memory associated shmkey.
Assign true to fIsValid. - ~TArtSharedMemory()
Call Delete(). - int GetSize()
Return fSize. - int Read(char *buf, int size, int offset)
Copy shared memory associated offset to buf. - int Delete()
Delete shared memory generated by TArtSharedMemory() - bool IsValid()
Return fIsValid.
Last-modified: Sun, 11 Dec 2011 23:53:16 HAST (4843d)