1 #ifndef GAUDI_INCIDENT_H
2 #define GAUDI_INCIDENT_H
5 #include "GaudiKernel/Kernel.h"
24 : m_source (
std::move(source) ),
25 m_type (
std::move(type) ) { }
34 const std::string&
type()
const {
return m_type; }
40 const std::string& source()
const {
return m_source; }
49 #ifndef _inc_types_impl_
50 #define _inc_type_(x) extern const std::string x
52 #define _inc_type_(x) extern const std::string x; \
53 const std::string x{#x}
76 #define GAUDI_FILE_INCIDENTS
101 #endif //GAUDI_INCIDENT_H
Namespace for pre-defined common incident types.
Base class for all Incidents (computing events).
_inc_type_(BeginEvent)
Processing of a new event has started.