ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Public Member Functions | Public Attributes | List of all members
daq::ErrorEvent Struct Referencefinal

#include <eventLog.hpp>

+ Inheritance diagram for daq::ErrorEvent:

Public Member Functions

 ErrorEvent (std::string id, std::string description, std::optional< Status > status, std::string origin) noexcept
 
bool operator== (ErrorEvent const &rhs) const noexcept
 
bool operator!= (ErrorEvent const &rhs) const noexcept
 
- Public Member Functions inherited from daq::GenericEvent
 GenericEvent (std::string id, std::string description, std::optional< Status > status) noexcept
 
 GenericEvent (GenericEvent &&)=default
 
 GenericEvent (GenericEvent const &)=default
 
GenericEventoperator= (GenericEvent &&)=default
 
GenericEventoperator= (GenericEvent const &)=default
 
bool operator== (GenericEvent const &rhs) const noexcept
 
bool operator!= (GenericEvent const &rhs) const noexcept
 

Public Attributes

std::string origin
 Error origin. More...
 
- Public Attributes inherited from daq::GenericEvent
TimePoint timestamp
 
std::string id
 
std::string description
 
std::optional< Statusstatus
 

Additional Inherited Members

- Public Types inherited from daq::GenericEvent
using TimePoint = std::chrono::time_point< std::chrono::steady_clock >
 

Detailed Description

Definition at line 69 of file eventLog.hpp.

Constructor & Destructor Documentation

◆ ErrorEvent()

daq::ErrorEvent::ErrorEvent ( std::string  id,
std::string  description,
std::optional< Status status,
std::string  origin 
)
noexcept

Definition at line 28 of file eventLog.cpp.

Member Function Documentation

◆ operator!=()

bool daq::ErrorEvent::operator!= ( ErrorEvent const &  rhs) const
noexcept

Definition at line 40 of file eventLog.cpp.

◆ operator==()

bool daq::ErrorEvent::operator== ( ErrorEvent const &  rhs) const
noexcept

Definition at line 36 of file eventLog.cpp.

Member Data Documentation

◆ origin

std::string daq::ErrorEvent::origin

Error origin.

Definition at line 79 of file eventLog.hpp.


The documentation for this struct was generated from the following files: