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 42 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 44 of file InitMessage.h.

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

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

Member Data Documentation

char_uint32 InitHeader::event_header_size_
Header InitHeader::header_

Definition at line 53 of file InitMessage.h.

Referenced by InitMsgBuilder::setDataLength().

char_uint32 InitHeader::init_header_size_

Definition at line 56 of file InitMessage.h.

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

char_uint32 InitHeader::run_
Version InitHeader::version_