All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Incident Class Reference

Base class for all Incidents (computing events). More...

#include <GaudiKernel/Incident.h>

Inheritance diagram for Incident:
Collaboration diagram for Incident:

Public Member Functions

 Incident (const std::string &source, const std::string &type)
 Default Constructor. More...
 
virtual ~Incident ()
 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...
 

Private Attributes

std::string m_source
 Incident source. More...
 
std::string m_type
 incident type More...
 

Detailed Description

Base class for all Incidents (computing events).

Author
P. Mato
Date
2001/01/19

Definition at line 16 of file Incident.h.

Constructor & Destructor Documentation

Incident::Incident ( const std::string &  source,
const std::string &  type 
)
inline

Default Constructor.

Parameters
sourceIncident source (service or algorithm name)
typeIncident type

Definition at line 21 of file Incident.h.

24  : m_source ( source ),
25  m_type ( type ) { }
const std::string & type() const
Access to the incident type.
Definition: Incident.h:34
const std::string & source() const
Access to the source of the incident.
Definition: Incident.h:40
std::string m_type
incident type
Definition: Incident.h:45
std::string m_source
Incident source.
Definition: Incident.h:44
virtual Incident::~Incident ( )
inlinevirtual

Destructor.

Definition at line 28 of file Incident.h.

28 { }

Member Function Documentation

const std::string& Incident::source ( ) const
inline

Access to the source of the incident.

Returns
service or algorithm name that initiated the incident

Definition at line 40 of file Incident.h.

40 { return m_source; }
std::string m_source
Incident source.
Definition: Incident.h:44
const std::string& Incident::type ( ) const
inline

Access to the incident type.

Returns
string descriptor for the incident type

Definition at line 34 of file Incident.h.

34 { return m_type; }
std::string m_type
incident type
Definition: Incident.h:45

Member Data Documentation

std::string Incident::m_source
private

Incident source.

Definition at line 44 of file Incident.h.

std::string Incident::m_type
private

incident type

Definition at line 45 of file Incident.h.


The documentation for this class was generated from the following file: