CMS 3D CMS Logo

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

#include <MsgHeader.h>

Public Types

enum  Codes {
  INVALID = 0, INIT = 1, EVENT = 2, DONE = 3,
  EOFRECORD = 4, HEADER_REQUEST = 5, EVENT_REQUEST = 6, CONS_REG_REQUEST = 7,
  CONS_REG_RESPONSE = 8, DQM_INIT = 9, DQM_EVENT = 10, DQMEVENT_REQUEST = 11,
  INIT_SET = 12, NEW_INIT_AVAILABLE = 13, ERROR_EVENT = 14, FILE_CLOSE_REQUEST = 15,
  SPARE1 = 16, SPARE2 = 17
}
 

Public Member Functions

 Header (uint32 code, uint32 size)
 

Public Attributes

uint8 code_
 
char_uint32 size_
 

Detailed Description

Definition at line 6 of file MsgHeader.h.

Member Enumeration Documentation

Enumerator
INVALID 
INIT 
EVENT 
DONE 
EOFRECORD 
HEADER_REQUEST 
EVENT_REQUEST 
CONS_REG_REQUEST 
CONS_REG_RESPONSE 
DQM_INIT 
DQM_EVENT 
DQMEVENT_REQUEST 
INIT_SET 
NEW_INIT_AVAILABLE 
ERROR_EVENT 
FILE_CLOSE_REQUEST 
SPARE1 
SPARE2 

Definition at line 15 of file MsgHeader.h.

Constructor & Destructor Documentation

Header::Header ( uint32  code,
uint32  size 
)
inline

Definition at line 8 of file MsgHeader.h.

References convert(), and size_.

8  :code_(code)
9  { convert(size,size_); }
void convert(uint32 i, char_uint32 v)
Definition: MsgTools.h:46
uint8 code_
Definition: MsgHeader.h:11
char_uint32 size_
Definition: MsgHeader.h:12
tuple size
Write out results.

Member Data Documentation

uint8 Header::code_
char_uint32 Header::size_