Belle II Software  release-08-01-10
SharedEventBuffer Class Reference
Collaboration diagram for SharedEventBuffer:

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 ()
 
HeadergetHeader () 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
 
Headerm_header
 
int * m_buf
 
unsigned int m_nword
 

Detailed Description

Definition at line 21 of file SharedEventBuffer.h.


The documentation for this class was generated from the following files: