#include <LOW_semaphoreSet_SysV.h>
Inheritance diagram for LOW_semaphoreSet_SysV:
Public Methods | |
LOW_semaphoreSet_SysV (const LOW_semaphoreSetFactory::semSetIPCKey_t inKey, const unsigned int inSemCount, const unsigned int inInitVal) | |
Constructor. More... | |
virtual | ~LOW_semaphoreSet_SysV () |
Destructor. More... | |
void | decSem (const unsigned int inSemNo) const |
Decrease a semaphore. More... | |
void | incSem (const unsigned int inSemNo) const |
Increase a semaphore. More... | |
Private Attributes | |
const key_t | semSetKey |
IPC key of the segment. More... | |
int | semSetID |
Sys V segment ID. More... | |
Static Private Attributes | |
const int | SEM_PERMS = 0770 |
Permissions for the semaphore set. More... |
Definition at line 31 of file LOW_semaphoreSet_SysV.h.
|
Constructor.
Definition at line 37 of file LOW_semaphoreSet_SysV.cpp. |
|
Destructor.
Definition at line 66 of file LOW_semaphoreSet_SysV.cpp. References semSetID. |
|
Decrease a semaphore.
Reimplemented from LOW_semaphoreSet. Definition at line 78 of file LOW_semaphoreSet_SysV.cpp. References semSetID. |
|
Increase a semaphore.
Reimplemented from LOW_semaphoreSet. Definition at line 93 of file LOW_semaphoreSet_SysV.cpp. References semSetID. |
|
Permissions for the semaphore set.
Definition at line 74 of file LOW_semaphoreSet_SysV.h. Referenced by LOW_semaphoreSet_SysV(). |
|
Sys V segment ID.
Definition at line 83 of file LOW_semaphoreSet_SysV.h. Referenced by decSem(), incSem(), LOW_semaphoreSet_SysV(), and ~LOW_semaphoreSet_SysV(). |
|
IPC key of the segment.
Definition at line 82 of file LOW_semaphoreSet_SysV.h. Referenced by LOW_semaphoreSet_SysV(). |