The Gaudi Framework
v30r3 (a5ef0a68)
|
Base class for all Incidents (computing events). More...
#include <GaudiKernel/Incident.h>
Public Member Functions | |
Incident (const std::string &source, const std::string &type) | |
Default Constructor. More... | |
Incident (const std::string &source, const std::string &type, const EventContext &ctx) | |
virtual | ~Incident ()=default |
Destructor. More... | |
const std::string & | type () const |
Access to the incident type. More... | |
const std::string & | source () const |
Access to the source of the incident. More... | |
EventContext | context () const |
Access to the EventContext of the source of the incident. More... | |
Private Attributes | |
std::string | m_source |
Incident source. More... | |
std::string | m_type |
incident type More... | |
EventContext | m_ctx |
Event Context when Incident created. More... | |
Base class for all Incidents (computing events).
Definition at line 17 of file Incident.h.
Incident::Incident | ( | const std::string & | source, |
const std::string & | type | ||
) |
Default Constructor.
Definition at line 5 of file Incident.cpp.
|
inline |
source | Incident source (service or algorithm name) |
type | Incident type |
ctx | EventContext |
Definition at line 26 of file Incident.h.
|
virtualdefault |
Destructor.
|
inline |
Access to the EventContext of the source of the incident.
Definition at line 53 of file Incident.h.
|
inline |
Access to the source of the incident.
Definition at line 47 of file Incident.h.
|
inline |
Access to the incident type.
Definition at line 41 of file Incident.h.
|
private |
Event Context when Incident created.
Definition at line 58 of file Incident.h.
|
private |
Incident source.
Definition at line 56 of file Incident.h.
|
private |
incident type
Definition at line 57 of file Incident.h.