The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
ModuleIncident Class Reference

base class for Module-related incident More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/ModuleIncident.h>

Inheritance diagram for ModuleIncident:
Collaboration diagram for ModuleIncident:

Protected Member Functions

protected structors
 ModuleIncident (std::string source, std::string type, std::string module)
 
virtual ~ModuleIncident ()=default
 

Accessors

std::string m_module
 the model (DLL) being worked on
 
const std::string & module () const
 the model (DLL) being worked on
 
const std::string & source () const
 Access to the source of the incident.
 
const std::string & type () const
 Access to the incident type.
 

Additional Inherited Members

- Public Member Functions inherited from Incident
 Incident (const std::string &source, const std::string &type)
 Default Constructor.
 
 Incident (const std::string &source, const std::string &type, const EventContext &ctx)
 
virtual ~Incident ()=default
 
const std::string & type () const
 Access to the incident type.
 
const std::string & source () const
 Access to the source of the incident.
 
EventContext context () const
 Access to the EventContext of the source of the incident.
 

Detailed Description

base class for Module-related incident

Author
P. Calafiura

Definition at line 20 of file ModuleIncident.h.

Constructor & Destructor Documentation

◆ ModuleIncident()

ModuleIncident::ModuleIncident ( std::string source,
std::string type,
std::string module )
inlineprotected

Definition at line 24 of file ModuleIncident.h.

28 : Incident( std::move( source ), std::move( type ) ), m_module( std::move( module ) ) {}
Incident(const std::string &source, const std::string &type)
Default Constructor.
Definition Incident.cpp:15
const std::string & type() const
Access to the incident type.
Definition Incident.h:43
std::string m_module
the model (DLL) being worked on
const std::string & source() const
Access to the source of the incident.
Definition Incident.h:49
const std::string & module() const
the model (DLL) being worked on

◆ ~ModuleIncident()

virtual ModuleIncident::~ModuleIncident ( )
protectedvirtualdefault

Member Function Documentation

◆ module()

const std::string & ModuleIncident::module ( ) const
inline

the model (DLL) being worked on

Definition at line 38 of file ModuleIncident.h.

38{ return m_module; }

◆ source()

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 49 of file Incident.h.

49{ return m_source; }
std::string m_source
Incident source.
Definition Incident.h:58

◆ type()

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

Access to the incident type.

Returns
string descriptor for the incident type

Definition at line 43 of file Incident.h.

43{ return m_type; }
std::string m_type
incident type
Definition Incident.h:59

Member Data Documentation

◆ m_module

std::string ModuleIncident::m_module
private

the model (DLL) being worked on

Definition at line 42 of file ModuleIncident.h.


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