CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
edm::streamer::Header Struct Reference

#include <MsgHeader.h>

Public Types

enum  Codes {
  INVALID = 0, INIT = 1, EVENT = 2, DONE = 3,
  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, PADDING = 255
}
 

Public Member Functions

 Header (uint32 code, uint32 size)
 

Public Attributes

uint8 code_
 
char_uint32 size_
 

Detailed Description

Definition at line 7 of file MsgHeader.h.

Member Enumeration Documentation

◆ Codes

Enumerator
INVALID 
INIT 
EVENT 
DONE 
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 
PADDING 

Definition at line 14 of file MsgHeader.h.

14  {
15  INVALID = 0,
16  INIT = 1,
17  EVENT = 2,
18  DONE = 3, // EOFRECORD = 4 is no longer used
19  HEADER_REQUEST = 5,
20  EVENT_REQUEST = 6,
21  CONS_REG_REQUEST = 7,
23  DQM_INIT = 9,
24  DQM_EVENT = 10,
25  DQMEVENT_REQUEST = 11,
26  INIT_SET = 12,
27  NEW_INIT_AVAILABLE = 13,
28  ERROR_EVENT = 14,
29  FILE_CLOSE_REQUEST = 15,
30  SPARE1 = 16,
31  SPARE2 = 17,
32  PADDING = 255 //reserved for padding
33  };

Constructor & Destructor Documentation

◆ Header()

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

Definition at line 8 of file MsgHeader.h.

References edm::streamer::convert(), and size_.

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

Member Data Documentation

◆ code_

uint8 edm::streamer::Header::code_

Definition at line 10 of file MsgHeader.h.

◆ size_

char_uint32 edm::streamer::Header::size_

Definition at line 11 of file MsgHeader.h.

Referenced by Header().