#include <RawMsgBuf.h>
Public Member Functions | |
void | initialise (unsigned int rawCellSize) |
FUShmRawCell * | rawCell () |
RawMsgBuf (unsigned int size, unsigned int type) | |
unsigned int | usedSize () |
virtual | ~RawMsgBuf () |
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 Attributes | |
FUShmRawCell * | theRawCell_ |
Friends | |
class | MasterQueue |
Additional Inherited Members | |
Protected Attributes inherited from evf::MsgBuf | |
unsigned char * | buf_ |
size_t | msize_ |
struct msgbuf * | ptr_ |
Message Buffer for Message Queue, holds an entire FUShmRawCell to transport.
Definition at line 23 of file RawMsgBuf.h.
RawMsgBuf::RawMsgBuf | ( | unsigned int | size, |
unsigned int | type | ||
) |
Definition at line 8 of file RawMsgBuf.cc.
|
virtual |
Definition at line 13 of file RawMsgBuf.cc.
References theRawCell_, and evf::FUShmRawCell::~FUShmRawCell().
void RawMsgBuf::initialise | ( | unsigned int | rawCellSize | ) |
Construct the Raw cell object in-place in the message buffer
Definition at line 18 of file RawMsgBuf.cc.
References evf::MsgBuf::ptr_, and theRawCell_.
Referenced by evf::RawCache::initialise().
|
inline |
Returns a pointer to the Raw cell contained in the message buffer
Definition at line 35 of file RawMsgBuf.h.
References evf::MsgBuf::ptr_.
Referenced by evf::FUResourceQueue::buildResource(), and evf::RawCache::releaseMsg().
|
inline |
Returns the actually used size in bytes of the buffer.
Definition at line 41 of file RawMsgBuf.h.
References evf::FUShmRawCell::eventSize(), and theRawCell_.
Referenced by evf::FUResourceQueue::buildResource().
|
friend |
Definition at line 48 of file RawMsgBuf.h.
|
private |
Definition at line 46 of file RawMsgBuf.h.
Referenced by initialise(), usedSize(), and ~RawMsgBuf().