The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
ContextIncident< T > Class Template Reference

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

Inheritance diagram for ContextIncident< T >:
Collaboration diagram for ContextIncident< T >:

Public Member Functions

 ContextIncident (std::string src, std::string typ, T tag)
 Initializing Constructor.
 
const T & tag () const
 Accesssor to the tag value (CONST)
 
- 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.
 

Private Attributes

m_tag
 

Detailed Description

template<class T>
class ContextIncident< T >

Definition at line 24 of file DataIncident.h.

Constructor & Destructor Documentation

◆ ContextIncident()

template<class T>
ContextIncident< T >::ContextIncident ( std::string src,
std::string typ,
T tag )
inline

Initializing Constructor.

Parameters
source[IN] Incident source (service or algorithm name)
type[IN] Incident type
tag[IN] Incident tag
Returns
Reference to ContextIncident object.

Definition at line 35 of file DataIncident.h.

36 : Incident( std::move( src ), std::move( typ ) ), m_tag( std::move( tag ) ) {}
const T & tag() const
Accesssor to the tag value (CONST)
Incident(const std::string &source, const std::string &type)
Default Constructor.
Definition Incident.cpp:15

Member Function Documentation

◆ tag()

template<class T>
const T & ContextIncident< T >::tag ( ) const
inline

Accesssor to the tag value (CONST)

Definition at line 39 of file DataIncident.h.

39{ return m_tag; }

Member Data Documentation

◆ m_tag

template<class T>
T ContextIncident< T >::m_tag
private

Definition at line 25 of file DataIncident.h.


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