![]() |
Belle II Software release-09-00-03
|

Classes | |
| struct | Header |
Public Member Functions | |
| size_t | size () throw () |
| bool | open (const std::string &nodename, size_t nword, bool recreate=false) |
| bool | init () |
| bool | close () |
| bool | unlink () |
| bool | lock () throw () |
| bool | unlock () throw () |
| bool | wait () throw () |
| bool | wait (int time) throw () |
| bool | notify () throw () |
| void | clear () |
| bool | isOpened () |
| const std::string | getPath () const throw () |
| Header * | getHeader () throw () |
| int * | getBuffer () throw () |
| bool | isWritable (int nword) throw () |
| bool | isReadable (int nword) throw () |
| unsigned int | write (const int *buf, unsigned int nword, bool fouce, unsigned int serial=0) |
| unsigned int | write (const int *buf, unsigned int nword, bool fouce, unsigned int serial, bool unlocked) |
| unsigned int | read (int *buf, bool fouce, bool unlocked, Header *hdr=NULL) |
Private Attributes | |
| std::string | m_path |
| SharedMemory | m_memory |
| MMutex | m_mutex |
| MCond | m_cond |
| Header * | m_header |
| int * | m_buf |
| unsigned int | m_nword |
Definition at line 21 of file SharedEventBuffer.h.
|
inline |
Definition at line 37 of file SharedEventBuffer.h.
|
inline |
Definition at line 42 of file SharedEventBuffer.h.
| void clear | ( | ) |
Definition at line 64 of file SharedEventBuffer.cc.
| bool close | ( | ) |
Definition at line 75 of file SharedEventBuffer.cc.
|
inline | |||||||||||||
Definition at line 65 of file SharedEventBuffer.h.
|
inline | |||||||||||||
Definition at line 64 of file SharedEventBuffer.h.
|
inline | |||||||||||||
Definition at line 63 of file SharedEventBuffer.h.
| bool init | ( | ) |
Definition at line 51 of file SharedEventBuffer.cc.
|
inline |
Definition at line 60 of file SharedEventBuffer.h.
| bool isReadable | ( | int | nword | ) | |
| throw | ( | ||||
| ) | |||||
Definition at line 127 of file SharedEventBuffer.cc.
| bool isWritable | ( | int | nword | ) | |
| throw | ( | ||||
| ) | |||||
Definition at line 118 of file SharedEventBuffer.cc.
| bool lock | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 88 of file SharedEventBuffer.cc.
| bool notify | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 112 of file SharedEventBuffer.cc.
| bool open | ( | const std::string & | nodename, |
| size_t | nword, | ||
| bool | recreate = false |
||
| ) |
Definition at line 23 of file SharedEventBuffer.cc.
| unsigned int read | ( | int * | buf, |
| bool | fouce, | ||
| bool | unlocked, | ||
| SharedEventBuffer::Header * | hdr = NULL |
||
| ) |
Definition at line 183 of file SharedEventBuffer.cc.
| size_t size | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 17 of file SharedEventBuffer.cc.
| bool unlink | ( | ) |
Definition at line 81 of file SharedEventBuffer.cc.
| bool unlock | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 94 of file SharedEventBuffer.cc.
| bool wait | ( | ) | ||
| throw | ( | |||
| ) | ||||
Definition at line 100 of file SharedEventBuffer.cc.
| bool wait | ( | int | time | ) | |
| throw | ( | ||||
| ) | |||||
Definition at line 106 of file SharedEventBuffer.cc.
| unsigned int write | ( | const int * | buf, |
| unsigned int | nword, | ||
| bool | fouce, | ||
| unsigned int | serial, | ||
| bool | unlocked | ||
| ) |
Definition at line 137 of file SharedEventBuffer.cc.
|
inline |
Definition at line 68 of file SharedEventBuffer.h.
|
private |
Definition at line 83 of file SharedEventBuffer.h.
|
private |
Definition at line 81 of file SharedEventBuffer.h.
|
private |
Definition at line 82 of file SharedEventBuffer.h.
|
private |
Definition at line 79 of file SharedEventBuffer.h.
|
private |
Definition at line 80 of file SharedEventBuffer.h.
|
private |
Definition at line 84 of file SharedEventBuffer.h.
|
private |
Definition at line 78 of file SharedEventBuffer.h.