Go to the documentation of this file.
28 const std::string&
type
32 const std::string&
type,
35 : m_source( source ), m_type(
type ), m_ctx(
ctx ) {}
43 const std::string&
type()
const {
return m_type; }
49 const std::string&
source()
const {
return m_source; }
63 #ifndef _inc_types_impl_
64 # define _inc_type_( x ) extern const std::string x
66 # define _inc_type_( x ) \
67 extern const std::string x; \
68 const std::string x { #x }
91 #define GAUDI_FILE_INCIDENTS
const std::string & source() const
Access to the source of the incident.
Incident(const std::string &source, const std::string &type, const EventContext &ctx)
EventContext context() const
Access to the EventContext of the source of the incident.
std::string m_source
Incident source.
_inc_type_(BeginEvent)
Processing of a new event has started.
virtual ~Incident()=default
std::string m_type
incident type
const std::string & type() const
Access to the incident type.
EventContext m_ctx
Event Context when Incident created.