CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
InitHeader Struct Reference

#include <InitMessage.h>

Public Member Functions

 InitHeader (const Header &h, uint32 run, const Version &v, uint32 init_header_size=0, uint32 event_header_size=0)
 

Public Attributes

char_uint32 event_header_size_
 
Header header_
 
char_uint32 init_header_size_
 
char_uint32 run_
 
Version version_
 

Detailed Description

Definition at line 46 of file InitMessage.h.

Constructor & Destructor Documentation

InitHeader::InitHeader ( const Header h,
uint32  run,
const Version v,
uint32  init_header_size = 0,
uint32  event_header_size = 0 
)
inline

Definition at line 48 of file InitMessage.h.

References convert(), event_header_size_, init_header_size_, and run_.

49  :
50  header_(h),version_(v)
51  {
52  convert(run,run_);
53  convert(init_header_size, init_header_size_);
54  convert(event_header_size, event_header_size_);
55  }
Header header_
Definition: InitMessage.h:57
char_uint32 event_header_size_
Definition: InitMessage.h:61
void convert(uint32 i, char_uint32 v)
Definition: MsgTools.h:46
Version version_
Definition: InitMessage.h:58
char_uint32 run_
Definition: InitMessage.h:59
char_uint32 init_header_size_
Definition: InitMessage.h:60

Member Data Documentation

char_uint32 InitHeader::event_header_size_
Header InitHeader::header_

Definition at line 57 of file InitMessage.h.

Referenced by InitMsgBuilder::setDataLength().

char_uint32 InitHeader::init_header_size_

Definition at line 60 of file InitMessage.h.

Referenced by InitHeader(), and InitMsgBuilder::InitMsgBuilder().

char_uint32 InitHeader::run_
Version InitHeader::version_