CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
11 public:
12  InitMsgBuilder(void* msg_mem, uint32 size,
13  uint32 run, const Version& v,
14  const char* release_tag,
15  const char* process_name,
16  const char* output_module_label,
17  uint32 output_module_id,
18  const Strings& hlt_names,
19  const Strings& hlt_selections,
20  const Strings& l1_names,
21  uint32 adler32_chksum);
22 
23  uint8* startAddress() const { return buf_; }
24  void setDataLength(uint32 registry_length);
25  uint8* dataAddress() const { return data_addr_; }
26  uint32 headerSize() const {return data_addr_-buf_;}
27  uint32 size() const ;
28  uint32 run() const;
29  uint32 bufferSize() const {return size_;}
30 
31 private:
35 };
36 
37 #endif
38 
uint32 bufferSize() const
std::vector< std::string > Strings
Definition: MsgTools.h:18
uint8 * data_addr_
uint32 headerSize() const
void setDataLength(uint32 registry_length)
uint32 size() const
uint8 * dataAddress() 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)
unsigned int uint32
Definition: MsgTools.h:13
unsigned char uint8
Definition: MsgTools.h:11
uint8 * startAddress() const
uint32 run() const