Belle II Software development
|
Classes | |
struct | Entry |
struct | Header |
Public Member Functions | |
bool | isOpend () |
bool | open (unsigned short max=0) |
void | init () |
Entry * | add (unsigned int addr, unsigned int size, unsigned int revision, const std::string &name, const std::string &format, unsigned int rid) |
void | unlink () |
Header * | getHeader () |
Entry * | get (const std::string &name) |
Entry * | get (unsigned int id) |
Entry * | get (unsigned int addr, unsigned int rid) |
void | lock () |
void | unlock () |
bool | wait (int second) |
void | signal () |
Static Public Member Functions | |
static NSMDataStore & | getStore () |
Private Attributes | |
char * | m_buf |
Header * | m_header |
Entry * | m_entries |
SharedMemory | m_mem |
MMutex | m_mutex |
MCond | m_cond |
Static Private Attributes | |
static NSMDataStore | g_store |
Definition at line 21 of file NSMDataStore.h.
|
inlineprivate |
Definition at line 51 of file NSMDataStore.h.
NSMDataStore::Entry * add | ( | unsigned int | addr, |
unsigned int | size, | ||
unsigned int | revision, | ||
const std::string & | name, | ||
const std::string & | format, | ||
unsigned int | rid | ||
) |
Definition at line 58 of file NSMDataStore.cc.
NSMDataStore::Entry * get | ( | const std::string & | name | ) |
Definition at line 85 of file NSMDataStore.cc.
NSMDataStore::Entry * get | ( | unsigned int | addr, |
unsigned int | rid | ||
) |
Definition at line 111 of file NSMDataStore.cc.
NSMDataStore::Entry * get | ( | unsigned int | id | ) |
Definition at line 97 of file NSMDataStore.cc.
|
inline |
Definition at line 69 of file NSMDataStore.h.
|
inlinestatic |
Definition at line 24 of file NSMDataStore.h.
void init | ( | ) |
Definition at line 48 of file NSMDataStore.cc.
|
inline |
Definition at line 59 of file NSMDataStore.h.
|
inline |
Definition at line 73 of file NSMDataStore.h.
bool open | ( | unsigned short | max = 0 | ) |
Definition at line 25 of file NSMDataStore.cc.
|
inline |
Definition at line 79 of file NSMDataStore.h.
void unlink | ( | ) |
Definition at line 127 of file NSMDataStore.cc.
|
inline |
Definition at line 74 of file NSMDataStore.h.
|
inline |
Definition at line 75 of file NSMDataStore.h.
|
staticprivate |
Definition at line 30 of file NSMDataStore.h.
|
private |
Definition at line 82 of file NSMDataStore.h.
|
private |
Definition at line 87 of file NSMDataStore.h.
|
private |
Definition at line 84 of file NSMDataStore.h.
|
private |
Definition at line 83 of file NSMDataStore.h.
|
private |
Definition at line 85 of file NSMDataStore.h.
|
private |
Definition at line 86 of file NSMDataStore.h.