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 41 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 43 of file InitMessage.h.

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

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

Member Data Documentation

char_uint32 InitHeader::event_header_size_
Header InitHeader::header_

Definition at line 52 of file InitMessage.h.

Referenced by InitMsgBuilder::setDataLength().

char_uint32 InitHeader::init_header_size_

Definition at line 55 of file InitMessage.h.

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

char_uint32 InitHeader::run_
Version InitHeader::version_