#include <IOPool/Streamer/interface/Messages.h>
Public Types | |
enum | Codes { INVALID = 0, INIT = 1, EVENT = 2, DONE = 3 } |
Public Member Functions | |
int | codeSize () const |
Codes | getCode () const |
MsgCode (void *buffer, int size, Codes c) | |
MsgCode (void *buffer, Codes c) | |
MsgCode (void *buffer) | |
MsgCode (void *buffer, int size) | |
void * | payload () const |
int | payloadSize () const |
void | setCode (Codes c) |
int | totalSize () const |
Private Attributes | |
unsigned char * | buffer_ |
int | size_ |
Definition at line 55 of file Messages.h.
enum edm::MsgCode::Codes |
edm::MsgCode::MsgCode | ( | void * | buffer | ) | [inline, explicit] |
int edm::MsgCode::codeSize | ( | ) | const [inline] |
Definition at line 96 of file Messages.h.
Referenced by edm::InitMsg::msgSize(), and edm::EventMsg::msgSize().
Codes edm::MsgCode::getCode | ( | ) | const [inline] |
Definition at line 88 of file Messages.h.
References buffer_, and edm::decodeInt().
Referenced by edm::JobHeaderDecoder::decodeJobHeader().
void* edm::MsgCode::payload | ( | ) | const [inline] |
Definition at line 94 of file Messages.h.
References buffer_.
Referenced by edm::EventMsg::data(), and edm::InitMsg::data().
00094 { return &buffer_[4]; }
int edm::MsgCode::payloadSize | ( | ) | const [inline] |
Definition at line 95 of file Messages.h.
References size_.
Referenced by edm::InitMsg::dataSize().
00095 { return size_; }
Definition at line 83 of file Messages.h.
References buffer_, and edm::encodeInt().
Referenced by edm::EventMsg::EventMsg(), edm::InitMsg::InitMsg(), and MsgCode().
int edm::MsgCode::totalSize | ( | ) | const [inline] |
Definition at line 97 of file Messages.h.
References size_.
Referenced by stor::ESRingBuffer::pop_front().
00097 { return size_+4; }
unsigned char* edm::MsgCode::buffer_ [private] |
int edm::MsgCode::size_ [private] |