8#include <framework/pcore/zmq/processModules/ProcessedEventBackup.h>
14 unsigned int workerId)
15 : m_eventMessage(
std::move(evtMsg)), m_eventMetaData(evtMetaData), m_workerId(workerId)
const TimeStamp & getTimestamp() const
Getter for the stored time stamp.
std::chrono::time_point< std::chrono::system_clock > TimeStamp
Short for the class of the time stamp (it is a system clock time stamp)
const unsigned int & getWorkerId() const
Getter for the stored worker id.
TimeStamp m_timestamp
Getter for the stored time stamp.
ProcessedEventBackup(std::unique_ptr< EvtMessage > evtMsg, const EventMetaData &evtMetaData, unsigned int workerId)
Constructor setting the informations. Takes ownership of the evtMsg.
unsigned int m_workerId
Getter for the stored worker id.
const EventMetaData & getEventMetaData() const
Getter for the stored event meta data.
bool operator==(const EventMetaData &rhs)
Compare operator needed in the backup list.
EventMetaData m_eventMetaData
Getter for the stored event meta data.
Abstract base class for different kinds of events.