Belle II Software development
|
Public Member Functions | |
RFSharedMem (const char *name) | |
RfShm_Cell & | GetCell (int id) |
void * | ptr (void) |
int | shmid (void) |
bool | IsCreated (void) |
void | lock (void) |
void | unlock (void) |
bool | isLocked (void) |
Static Public Member Functions | |
static std::string | getTmpFileName (std::string user, std::string name) |
static bool | getIdFromTmpFileName (std::string filename, int &shmid, int &semid) |
Private Attributes | |
bool | m_new {false} |
True if we created the ring buffer ourselves (and need to clean it). | |
key_t | m_shmkey |
SHM key, see shmget(2). | |
key_t | m_semkey |
Semaphore key. | |
int | m_shmid {-1} |
shared memory id | |
int | m_semid {-1} |
semaphore id | |
void * | m_shmadr {nullptr} |
Definition at line 51 of file RFSharedMem.h.
RFSharedMem | ( | const char * | name | ) |
Definition at line 16 of file RFSharedMem.cc.
~RFSharedMem | ( | ) |
Definition at line 29 of file RFSharedMem.cc.
RfShm_Cell & GetCell | ( | int | id | ) |
Definition at line 33 of file RFSharedMem.cc.
|
staticinherited |
Definition at line 177 of file SharedMem.cc.
|
staticinherited |
Definition at line 172 of file SharedMem.cc.
|
inherited |
Definition at line 167 of file SharedMem.cc.
|
inherited |
Definition at line 228 of file SharedMem.cc.
|
inherited |
Definition at line 194 of file SharedMem.cc.
|
inherited |
Definition at line 157 of file SharedMem.cc.
|
inherited |
Definition at line 162 of file SharedMem.cc.
|
inherited |
Definition at line 211 of file SharedMem.cc.
|
privateinherited |
True if we created the ring buffer ourselves (and need to clean it).
Definition at line 38 of file SharedMem.h.
|
privateinherited |
semaphore id
Definition at line 43 of file SharedMem.h.
|
privateinherited |
Semaphore key.
Definition at line 40 of file SharedMem.h.
|
privateinherited |
Definition at line 44 of file SharedMem.h.
|
privateinherited |
shared memory id
Definition at line 42 of file SharedMem.h.
|
privateinherited |
SHM key, see shmget(2).
Definition at line 39 of file SharedMem.h.