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
uint32 size() const
uint8 * startAddress() const
std::vector< std::string > Strings
Definition: MsgTools.h:18
uint8 * data_addr_
void setDataLength(uint32 registry_length)
uint32 headerSize() const
uint32 run() const
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)
uint32 bufferSize() const
unsigned int uint32
Definition: MsgTools.h:13
uint8 * dataAddress() const
unsigned char uint8
Definition: MsgTools.h:11