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

Public Member Functions

 BinData (void *buf=NULL)
 
int getExpNumber () const
 
int getRunNumber () const
 
int getSubNumber () const
 
int getEventNumber () const
 
int setEventNumber (int number)
 
int setExpNumber (int exp_no)
 
int setRunNumber (int run_no, int sub_no)
 
int getNEvent () const
 
int getNBoard () const
 
int setNEvent (int nev)
 
int setNBoard (int nb)
 
void setWordSize (int nword)
 
int getWordSize () const
 
int getByteSize () const
 
int getHeaderWordSize () const
 
int getHeaderByteSize () const
 
int getBodyByteSize () const
 
void setBodyWordSize (int nword)
 
int getBodyWordSize () const
 
unsigned int getTrailerMagic ()
 
int getNodeId () const
 
void setNodeId (int id)
 
unsigned int recvEvent (TCPSocket &socket)
 
unsigned int sendEvent (TCPSocket &socket) const
 
int * getBuffer ()
 
const int * getBuffer () const
 
void setBuffer (void *buf)
 
void print () noexcept
 
BinHeadergetHeader ()
 
const BinHeadergetHeader () const
 
BinTrailergetTrailer ()
 
const BinTrailergetTrailer () const
 
unsigned int * getBody ()
 
const unsigned int * getBody () const
 

Static Public Attributes

static const unsigned int TRAILER_MAGIC = 0x7FFF0007
 
static const unsigned int MAX_EVENT_WORDS = 2 * 1024 * 1024
 

Protected Attributes

BinTrailerm_trailer
 
BinHeaderm_header
 
unsigned int * m_body
 
int * m_buf
 

Detailed Description

Definition at line 33 of file BinData.h.


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