![]() |
Belle II Software prerelease-10-00-00a
|
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 |
set number of words and record type.
Definition at line 30 of file EvtMessage.h.
UInt_t dest {(UInt_t) - 1} |
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} |
ERecordType rectype |
Type of message.
Definition at line 32 of file EvtMessage.h.
UInt_t reserved[6] {0} |
Reserved for future use.
Don't ever use these directly.
Definition at line 41 of file EvtMessage.h.
UInt_t size |
Number of words in this record.
Definition at line 31 of file EvtMessage.h.
UInt_t src {(UInt_t) - 1} |
Long64_t time_sec {0} |
Long64_t time_usec {0} |
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.