#include <DQMEventMsg.h>
Public Member Functions | |
unsigned char * | dataLocation () const |
DQMEventMsg () | |
DQMEventMsg (const DQMEventMsgView &) | |
const stor::DQMKey & | dqmKey () const |
bool | empty () const |
bool | faulty () const |
const stor::QueueIDs & | getDQMEventConsumerTags () const |
size_t | memoryUsed () const |
void | tagForDQMEventConsumers (const stor::QueueIDs &) |
unsigned long | totalDataSize () const |
Private Types | |
typedef std::vector< unsigned char > | DQMEventMsgBuffer |
Private Attributes | |
boost::shared_ptr < DQMEventMsgBuffer > | buf_ |
stor::DQMKey | dqmKey_ |
bool | faulty_ |
stor::QueueIDs | queueIDs_ |
A class for storing an DQMEventMsgView and providing the basic APIs required for SMPS
Definition at line 25 of file DQMEventMsg.h.
|
private |
Definition at line 74 of file DQMEventMsg.h.
smproxy::DQMEventMsg::DQMEventMsg | ( | ) |
Definition at line 10 of file DQMEventMsg.cc.
smproxy::DQMEventMsg::DQMEventMsg | ( | const DQMEventMsgView & | dqmEventMsgView | ) |
Definition at line 15 of file DQMEventMsg.cc.
References buf_, filterCSVwithJSON::copy, dqmKey_, stor::DQMKey::lumiSection, DQMEventMsgView::lumiSection(), stor::DQMKey::runNumber, DQMEventMsgView::runNumber(), DQMEventMsgView::size(), DQMEventMsgView::startAddress(), DQMEventMsgView::topFolderName(), and stor::DQMKey::topLevelFolderName.
unsigned char * smproxy::DQMEventMsg::dataLocation | ( | ) | const |
Returns the start adderess of the event message
Definition at line 60 of file DQMEventMsg.cc.
const stor::DQMKey & smproxy::DQMEventMsg::dqmKey | ( | ) | const |
Return the DQM key corresponding to this message
Definition at line 42 of file DQMEventMsg.cc.
References dqmKey_.
bool smproxy::DQMEventMsg::empty | ( | void | ) | const |
Returns true if no event message is managed by *this
Definition at line 66 of file DQMEventMsg.cc.
References buf_.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
bool smproxy::DQMEventMsg::faulty | ( | ) | const |
Returns true if the event message is faulty
Definition at line 72 of file DQMEventMsg.cc.
References faulty_.
const stor::QueueIDs & smproxy::DQMEventMsg::getDQMEventConsumerTags | ( | ) | const |
Return the QueueIDs for which the DQM event is tagged
Definition at line 36 of file DQMEventMsg.cc.
References queueIDs_.
size_t smproxy::DQMEventMsg::memoryUsed | ( | ) | const |
Returns the total memory occupied by the event message
Definition at line 48 of file DQMEventMsg.cc.
References buf_.
void smproxy::DQMEventMsg::tagForDQMEventConsumers | ( | const stor::QueueIDs & | queueIDs | ) |
Tag the DQM event for the passed list of queueIDs
Definition at line 30 of file DQMEventMsg.cc.
References queueIDs_.
unsigned long smproxy::DQMEventMsg::totalDataSize | ( | ) | const |
Returns the size of the event message
Definition at line 54 of file DQMEventMsg.cc.
References buf_.
|
private |
Definition at line 75 of file DQMEventMsg.h.
Referenced by DQMEventMsg(), empty(), memoryUsed(), and totalDataSize().
|
private |
Definition at line 79 of file DQMEventMsg.h.
Referenced by DQMEventMsg(), and dqmKey().
|
private |
Definition at line 76 of file DQMEventMsg.h.
Referenced by faulty().
|
private |
Definition at line 78 of file DQMEventMsg.h.
Referenced by getDQMEventConsumerTags(), and tagForDQMEventConsumers().