#include <DQMMsgBuf.h>
Public Member Functions | |
FUShmDqmCell * | dqmCell () |
DQMMsgBuf (unsigned int size, unsigned int type) | |
void | initialise (unsigned int dqmCellSize) |
virtual | ~DQMMsgBuf () |
Private Attributes | |
FUShmDqmCell * | theDqmCell_ |
Friends | |
class | MasterQueue |
DQMMsgBuf::DQMMsgBuf | ( | unsigned int | size, |
unsigned int | type | ||
) |
Definition at line 14 of file DQMMsgBuf.cc.
: MsgBuf(size, type), theDqmCell_(0) { }
DQMMsgBuf::~DQMMsgBuf | ( | ) | [virtual] |
Definition at line 18 of file DQMMsgBuf.cc.
References theDqmCell_, and evf::FUShmDqmCell::~FUShmDqmCell().
{ theDqmCell_->~FUShmDqmCell(); //delete[] buf_; }
FUShmDqmCell* evf::DQMMsgBuf::dqmCell | ( | ) | [inline] |
Returns a pointer to the DQM cell contained in the message buffer
Definition at line 37 of file DQMMsgBuf.h.
References evf::MsgBuf::ptr_.
Referenced by evf::FUResourceQueue::sendDqm(), and evf::FUResourceQueue::sendDqmWhileHalting().
{ return (FUShmDqmCell*) ptr_->mtext; }
void DQMMsgBuf::initialise | ( | unsigned int | dqmCellSize | ) |
Construct the DQM cell object in-place in the message buffer
Definition at line 23 of file DQMMsgBuf.cc.
References evf::MsgBuf::ptr_, and theDqmCell_.
{ // construct the FUShmDqmCell at the buffer address // the memory is allocated in the super constructor theDqmCell_ = new (ptr_->mtext) FUShmDqmCell(dqmCellSize); }
friend class MasterQueue [friend] |
Reimplemented from evf::MsgBuf.
Definition at line 43 of file DQMMsgBuf.h.
FUShmDqmCell* evf::DQMMsgBuf::theDqmCell_ [private] |
Definition at line 42 of file DQMMsgBuf.h.
Referenced by initialise(), and ~DQMMsgBuf().