Belle II Software development
|
Header structure of streamed object list. More...
#include <EvtMessage.h>
Public Member Functions | |
EvtHeader (UInt_t aSize, ERecordType aRectype) | |
set number of words and record type. | |
Public Attributes | |
UInt_t | size |
Number of words in this record. | |
ERecordType | rectype |
Type of message. | |
Long64_t | time_sec {0} |
seconds part of timeval. | |
Long64_t | time_usec {0} |
micro seconds part of timeval. | |
UInt_t | src {(UInt_t) - 1} |
source IP. | |
UInt_t | dest {(UInt_t) - 1} |
destination IP. | |
UInt_t | flags {0} |
flags concerning the content of the message. | |
UInt_t | nObjects {0} |
number of objects in message. | |
UInt_t | nArrays {0} |
number of objects in message. | |
UInt_t | reserved [6] {0} |
Reserved for future use. | |
UInt_t | version {0xBEEFED01} |
version field. | |
Header structure of streamed object list.
Definition at line 28 of file EvtMessage.h.
|
inline |
UInt_t dest {(UInt_t) - 1} |
destination IP.
Definition at line 36 of file EvtMessage.h.
UInt_t flags {0} |
flags concerning the content of the message.
Usually 0 but can be any combination of of EvtMessage::EMessageFlags.
Definition at line 37 of file EvtMessage.h.
UInt_t nArrays {0} |
number of objects in message.
Definition at line 40 of file EvtMessage.h.
UInt_t nObjects {0} |
number of objects in message.
Definition at line 39 of file EvtMessage.h.
ERecordType rectype |
Type of message.
Definition at line 32 of file EvtMessage.h.
UInt_t reserved[6] {0} |
UInt_t size |
Number of words in this record.
Definition at line 31 of file EvtMessage.h.
UInt_t src {(UInt_t) - 1} |
source IP.
Definition at line 35 of file EvtMessage.h.
Long64_t time_sec {0} |
seconds part of timeval.
Definition at line 33 of file EvtMessage.h.
Long64_t time_usec {0} |
micro seconds part of timeval.
Definition at line 34 of file EvtMessage.h.
UInt_t version {0xBEEFED01} |
version field.
Previously the reserved fields were not initialized properly so they could contain random garbage which makes it very hard to check for anything. Now we send 0xBEEFED + 8bit version to indicate that yes, this is indeed a valid version and not just random garbage. Chance of collision is low but there is nothing else we can do except breaking compatibility with old files.
Definition at line 48 of file EvtMessage.h.