CMS 3D CMS Logo

InitMsgBuilder.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_InitMsgBuilder_h
2 #define IOPool_Streamer_InitMsgBuilder_h
3 
6 
7 // ----------------- init -------------------
8 
10 public:
11  InitMsgBuilder(void* msg_mem,
12  uint32 size,
13  uint32 run,
14  const Version& v,
15  const char* release_tag,
16  const char* process_name,
17  const char* output_module_label,
18  uint32 output_module_id,
19  const Strings& hlt_names,
20  const Strings& hlt_selections,
21  const Strings& l1_names,
22  uint32 adler32_chksum);
23 
24  uint8* startAddress() const { return buf_; }
25  void setDataLength(uint32 registry_length);
26  uint8* dataAddress() const { return data_addr_; }
27  uint32 headerSize() const { return data_addr_ - buf_; }
28  uint32 size() const;
29  uint32 run() const;
30  uint32 bufferSize() const { return size_; }
31 
32 private:
36 };
37 
38 #endif
InitMsgBuilder
Definition: InitMsgBuilder.h:9
InitMsgBuilder::startAddress
uint8 * startAddress() const
Definition: InitMsgBuilder.h:24
InitMsgBuilder::data_addr_
uint8 * data_addr_
Definition: InitMsgBuilder.h:35
uint8
unsigned char uint8
Definition: MsgTools.h:11
InitMsgBuilder::headerSize
uint32 headerSize() const
Definition: InitMsgBuilder.h:27
InitMsgBuilder::InitMsgBuilder
InitMsgBuilder(void *msg_mem, uint32 size, uint32 run, const Version &v, const char *release_tag, const char *process_name, const char *output_module_label, uint32 output_module_id, const Strings &hlt_names, const Strings &hlt_selections, const Strings &l1_names, uint32 adler32_chksum)
Definition: InitMsgBuilder.cc:9
findQualityFiles.v
v
Definition: findQualityFiles.py:179
InitMessage.h
Strings
std::vector< std::string > Strings
Definition: MsgTools.h:18
uint32
unsigned int uint32
Definition: MsgTools.h:13
InitMsgBuilder::dataAddress
uint8 * dataAddress() const
Definition: InitMsgBuilder.h:26
InitMsgBuilder::run
uint32 run() const
Definition: InitMsgBuilder.cc:111
InitMsgBuilder::setDataLength
void setDataLength(uint32 registry_length)
Definition: InitMsgBuilder.cc:100
InitMsgBuilder::size_
uint32 size_
Definition: InitMsgBuilder.h:34
MsgTools.h
InitMsgBuilder::bufferSize
uint32 bufferSize() const
Definition: InitMsgBuilder.h:30
InitMsgBuilder::buf_
uint8 * buf_
Definition: InitMsgBuilder.h:33
InitMsgBuilder::size
uint32 size() const
Definition: InitMsgBuilder.cc:106
Version
Definition: InitMessage.h:39