#include <MessageStruct.hpp>
The size of this struct depends on how many gaps the compiler inserts to fill to architecture borders. (On our first test, there seems to be gaps, who have in sum 3 bytes; total amount 620 (payload 617) - border size seems to be 4 byte).
05-04-2004: -->> Size (and so borders too) has changed ! Total size is now 620 bytes. (-> there should be no gap now.)
Public Member Functions | |
MessageStruct (char *detectorName) | |
MessageStruct (unsigned int evType, char *detectorName, char *origin, char *descript, char *eventDate) | |
MessageStruct (const MessageStruct &msg) | |
MessageStruct & | operator= (const MessageStruct &rhs) |
Data Fields | |
unsigned int | eventType |
char | detector [4] |
char | source [256] |
char | description [256] |
char | date [20] |
|
Initial constructor for MessageStruct initializes all struct members.
|
|
Constructor for MessageStruct which allows to set all members. This Contructor will be mainly used by the logger, to prepare a message for the FedMessenger.
|
|
Copy constructor for a MessageStruct.
|
|
Assignment operator for MessageStructs. All values are copied.
|
|
The date of the message ("YYYY-MM-DD hh:mm:ss\0").
|
|
The message itself.
|
|
The detector type (TRD, TPC).
|
|
The type of event (info, warning, error, ...).
|
|
The origin of this message.
|