![]() |
Belle II Software
light-2303-iriomote
|
Storage item for the event backup storing the event message, the time stamp and the event meta data. More...
#include <ProcessedEventBackup.h>

Public Member Functions | |
| ProcessedEventBackup (std::unique_ptr< EvtMessage > evtMsg, const EventMetaData &evtMetaData, unsigned int workerId) | |
| Constructor setting the informations. Takes ownership of the evtMsg. | |
| bool | operator== (const EventMetaData &rhs) |
| Compare operator needed in the backup list. | |
| template<class AZMQClient > | |
| void | sendToSocket (const AZMQClient &socket) |
| Publish this event backup directly to the given client. | |
| const EventMetaData & | getEventMetaData () const |
| Getter for the stored event meta data. | |
| const TimeStamp & | getTimestamp () const |
| Getter for the stored time stamp. | |
| const unsigned int & | getWorkerId () const |
| Getter for the stored worker id. | |
Private Types | |
| using | TimeStamp = std::chrono::time_point< std::chrono::system_clock > |
| Short for the class of the time stamp (it is a system clock time stamp) | |
Private Attributes | |
| std::unique_ptr< EvtMessage > | m_eventMessage |
| Stored event message. | |
| EventMetaData | m_eventMetaData |
| Getter for the stored event meta data. | |
| unsigned int | m_workerId |
| Getter for the stored worker id. | |
| TimeStamp | m_timestamp = std::chrono::system_clock::now() |
| Getter for the stored time stamp. | |
Storage item for the event backup storing the event message, the time stamp and the event meta data.
Definition at line 22 of file ProcessedEventBackup.h.