Belle II Software development
|
Public Member Functions | |
RFNodeManager (string &nodename) | |
int | fork (char *script, int nargs, char **args) |
RfShm_Cell & | GetCell (int id) |
void * | ptr (void) |
int | shmid (void) |
bool | IsCreated (void) |
void | lock (void) |
void | unlock (void) |
bool | isLocked (void) |
void | AllocMem (char *format) |
RfNodeInfo * | GetNodeInfo () |
char * | getconf (const char *key1, const char *key2=NULL, const char *key3=NULL) |
int | getconfi (const char *key1, const char *key2=NULL, const char *key3=NULL) |
Static Public Member Functions | |
static void | signal_handler (int num) |
static std::string | getTmpFileName (std::string user, std::string name) |
static bool | getIdFromTmpFileName (std::string filename, int &shmid, int &semid) |
static NSMcontext * | GetContext () |
Static Private Member Functions | |
static void | m_Configure (NSMmsg *, NSMcontext *) |
static void | m_UnConfigure (NSMmsg *, NSMcontext *) |
static void | m_Start (NSMmsg *, NSMcontext *) |
static void | m_Stop (NSMmsg *, NSMcontext *) |
static void | m_Pause (NSMmsg *, NSMcontext *) |
static void | m_Resume (NSMmsg *, NSMcontext *) |
static void | m_Restart (NSMmsg *, NSMcontext *) |
static void | m_Status (NSMmsg *, NSMcontext *) |
static void | m_OK (NSMmsg *, NSMcontext *) |
static void | m_ERROR (NSMmsg *, NSMcontext *) |
Private Attributes | |
int | piperec [2] |
int | pipesend [2] |
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} |
std::string | m_nodename |
std::string | m_formatfile |
RfNodeInfo * | m_info |
FILE * | m_fd |
Static Private Attributes | |
static NSMcontext * | g_context = 0 |
Definition at line 18 of file RFNodeManager.h.
|
inherited |
Definition at line 121 of file RFNSM.cc.
|
inherited |
Definition at line 33 of file RFSharedMem.cc.
|
inherited |
Definition at line 34 of file RFConf.cc.
|
inherited |
|
inlinestaticinherited |
|
staticinherited |
Definition at line 177 of file SharedMem.cc.
|
inherited |
|
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.
|
staticprivateinherited |
Definition at line 137 of file RFNSM.cc.
|
staticprivateinherited |
|
staticprivateinherited |
Definition at line 254 of file RFNSM.cc.
|
staticprivateinherited |
Definition at line 197 of file RFNSM.cc.
|
staticprivateinherited |
Definition at line 225 of file RFNSM.cc.
|
staticprivateinherited |
Definition at line 211 of file RFNSM.cc.
|
staticprivateinherited |
Definition at line 169 of file RFNSM.cc.
|
staticprivateinherited |
Definition at line 239 of file RFNSM.cc.
|
staticprivateinherited |
Definition at line 183 of file RFNSM.cc.
|
staticprivateinherited |
Definition at line 153 of file RFNSM.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.
|
staticprivateinherited |
|
privateinherited |
|
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.
|
private |
Definition at line 29 of file RFNodeManager.h.
|
private |
Definition at line 30 of file RFNodeManager.h.