Gaudi Framework, version v21r9

Home   Generated: 3 May 2010

Incident Class Reference

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

#include <GaudiKernel/Incident.h>

Inheritance diagram for Incident:

Inheritance graph
[legend]
Collaboration diagram for Incident:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Incident (const std::string &source, const std::string &type)
 Default Constructor.
virtual ~Incident ()
 Destructor.
const std::stringtype () const
 Access to the incident type.
const std::stringsource () const
 Access to the source of the incident.

Private Attributes

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


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:
source  Incident source (service or algorithm name)
type  Incident type

Definition at line 21 of file Incident.h.

00024     : m_source ( source ),
00025       m_type   ( type   ) { }

virtual Incident::~Incident (  )  [inline, virtual]

Destructor.

Definition at line 28 of file Incident.h.

00028 { }


Member Function Documentation

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.

00034 { return m_type; }

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.

00040 { return m_source; }


Member Data Documentation

Incident source.

Definition at line 44 of file Incident.h.

incident type

Definition at line 45 of file Incident.h.


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

Generated at Mon May 3 12:25:12 2010 for Gaudi Framework, version v21r9 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004