#include <LOW_sharedMemSegment_SysV.h>
Inheritance diagram for LOW_sharedMemSegment_SysV:
Public Methods | |
LOW_sharedMemSegment_SysV (const LOW_sharedMemSegmentFactory::sharedMemSegmentIPCKey_t inKey, const unsigned int inSize) | |
Constructor. More... | |
virtual | ~LOW_sharedMemSegment_SysV () |
Destructor. More... | |
void * | get () const |
Get a pointer to the shared memory segment. More... | |
Private Attributes | |
const key_t | sharedMemSegKey |
IPC key of the segment. More... | |
int | sharedMemSegID |
Sys V segment ID. More... | |
void * | sharedMemPtr |
Pointer to the segment. More... | |
Static Private Attributes | |
const int | SHM_PERMS = 0770 |
Permissions for the shm segments. More... |
Definition at line 30 of file LOW_sharedMemSegment_SysV.h.
|
Constructor.
Definition at line 32 of file LOW_sharedMemSegment_SysV.cpp. References sharedMemPtr, sharedMemSegID, sharedMemSegKey, and SHM_PERMS. |
|
Destructor.
Definition at line 53 of file LOW_sharedMemSegment_SysV.cpp. References sharedMemPtr, and sharedMemSegID. |
|
Get a pointer to the shared memory segment. Abstract method to be implemented by derived class.
Reimplemented from LOW_sharedMemSegment. Definition at line 67 of file LOW_sharedMemSegment_SysV.cpp. References sharedMemPtr. |
|
Pointer to the segment.
Definition at line 79 of file LOW_sharedMemSegment_SysV.h. Referenced by get(), LOW_sharedMemSegment_SysV(), and ~LOW_sharedMemSegment_SysV(). |
|
Sys V segment ID.
Definition at line 78 of file LOW_sharedMemSegment_SysV.h. Referenced by LOW_sharedMemSegment_SysV(), and ~LOW_sharedMemSegment_SysV(). |
|
IPC key of the segment.
Definition at line 77 of file LOW_sharedMemSegment_SysV.h. Referenced by LOW_sharedMemSegment_SysV(). |
|
Permissions for the shm segments.
Definition at line 69 of file LOW_sharedMemSegment_SysV.h. Referenced by LOW_sharedMemSegment_SysV(). |