#include <SimpleMsgBuf.h>
Public Member Functions | |
void | addFedData (const unsigned char *fedRawData, unsigned int segmentSize) |
void | addFedSize (unsigned int fedSize) |
void | getEvt (unsigned int &) const |
char * | getFedDataEnd () |
char * | getFedDataStart () |
char * | getFedSizeStart () |
void | getLumi (unsigned int &) const |
void | getRun (unsigned int &) const |
void | reset () |
void | setRLE (unsigned int run, unsigned int lumi, unsigned int evt) |
SimpleMsgBuf () | |
SimpleMsgBuf (unsigned int size, unsigned int type) | |
SimpleMsgBuf (const SimpleMsgBuf &b) | |
virtual | ~SimpleMsgBuf () |
Public Member Functions inherited from evf::MsgBuf | |
MsgBuf () | |
MsgBuf (unsigned int size, unsigned int type) | |
MsgBuf (const MsgBuf &b) | |
size_t | msize () |
msgbuf * | operator-> () |
MsgBuf & | operator= (const MsgBuf &) |
virtual | ~MsgBuf () |
Private Member Functions | |
void | setBufferPointers () |
Private Attributes | |
char * | pEvt_ |
char * | pFedRawData_ |
char * | pFedSizes_ |
char * | pLumi_ |
char * | pRun_ |
char * | pVarData_ |
char * | pVarSize_ |
size_t | usedSize_ |
Friends | |
class | MasterQueue |
Additional Inherited Members | |
Protected Attributes inherited from evf::MsgBuf | |
unsigned char * | buf_ |
size_t | msize_ |
struct msgbuf * | ptr_ |
Definition at line 23 of file SimpleMsgBuf.h.
SimpleMsgBuf::SimpleMsgBuf | ( | ) |
SimpleMsgBuf::SimpleMsgBuf | ( | unsigned int | size, |
unsigned int | type | ||
) |
evf::SimpleMsgBuf::SimpleMsgBuf | ( | const SimpleMsgBuf & | b | ) |
|
virtual |
Definition at line 17 of file SimpleMsgBuf.cc.
void SimpleMsgBuf::addFedData | ( | const unsigned char * | fedRawData, |
unsigned int | segmentSize | ||
) |
void SimpleMsgBuf::addFedSize | ( | unsigned int | fedSize | ) |
void SimpleMsgBuf::getEvt | ( | unsigned int & | evt | ) | const |
char * SimpleMsgBuf::getFedDataEnd | ( | ) |
char * SimpleMsgBuf::getFedDataStart | ( | ) |
char * SimpleMsgBuf::getFedSizeStart | ( | ) |
void SimpleMsgBuf::getLumi | ( | unsigned int & | lumi | ) | const |
void SimpleMsgBuf::getRun | ( | unsigned int & | run | ) | const |
|
inline |
|
private |
Definition at line 71 of file SimpleMsgBuf.cc.
References N_FEDS, pEvt_, pFedRawData_, pFedSizes_, pLumi_, pRun_, evf::MsgBuf::ptr_, pVarData_, pVarSize_, and usedSize_.
Referenced by reset(), and SimpleMsgBuf().
void SimpleMsgBuf::setRLE | ( | unsigned int | run, |
unsigned int | lumi, | ||
unsigned int | evt | ||
) |
|
friend |
Definition at line 52 of file SimpleMsgBuf.h.
|
private |
Definition at line 59 of file SimpleMsgBuf.h.
Referenced by getEvt(), setBufferPointers(), and setRLE().
|
private |
Definition at line 61 of file SimpleMsgBuf.h.
Referenced by getFedDataStart(), and setBufferPointers().
|
private |
Definition at line 60 of file SimpleMsgBuf.h.
Referenced by getFedSizeStart(), and setBufferPointers().
|
private |
Definition at line 58 of file SimpleMsgBuf.h.
Referenced by getLumi(), setBufferPointers(), and setRLE().
|
private |
Definition at line 57 of file SimpleMsgBuf.h.
Referenced by getRun(), setBufferPointers(), and setRLE().
|
private |
Definition at line 65 of file SimpleMsgBuf.h.
Referenced by addFedData(), getFedDataEnd(), and setBufferPointers().
|
private |
Definition at line 64 of file SimpleMsgBuf.h.
Referenced by addFedSize(), and setBufferPointers().
|
private |
Definition at line 51 of file SimpleMsgBuf.h.
Referenced by addFedData(), and setBufferPointers().