Go to the documentation of this file.
   11 #ifndef GAUDI_INCIDENT_H 
   12 #define GAUDI_INCIDENT_H 
   39       : m_source( source ), m_type( 
type ), m_ctx( 
ctx ) {}
 
   68 #ifndef _inc_types_impl_ 
   69 #  define _inc_type_( x ) extern const std::string x 
   71 #  define _inc_type_( x )                                                                                              \ 
   72     extern const std::string x;                                                                                        \ 
   73     const std::string        x { #x } 
   95 #define GAUDI_FILE_INCIDENTS 
  120 #endif // GAUDI_INCIDENT_H 
  
 
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
Destructor.
std::string m_type
incident type
const std::string & type() const
Access to the incident type.
EventContext m_ctx
Event Context when Incident created.