| The Gaudi Framework v32r1 (f65d50dc)

DataIncident.h
Go to the documentation of this file.
1 #ifndef GAUDI_DATAINCIDENT_H
2 #define GAUDI_DATAINCIDENT_H
3
4 // Include files
5 #include "GaudiKernel/Incident.h"
6
15 template <class T>
16 class GAUDI_API ContextIncident : public Incident {
17 T m_tag;
18
19 public:
21
27 ContextIncident( std::string src, std::string typ, T tag )
28 : Incident( std::move( src ), std::move( typ ) ), m_tag( std::move( tag ) ) {}
29
31 const T& tag() const { return m_tag; }
32 };
33
35 typedef ContextIncident<std::string> DataIncident;
36
37 #endif // GAUDI_DATAINCIDENT_H
DataIncident
ContextIncident< std::string > DataIncident
Specific incident type used by the data-on-demand-service.
Definition: DataIncident.h:35
ContextIncident::ContextIncident
ContextIncident(std::string src, std::string typ, T tag)
Initializing Constructor.
Definition: DataIncident.h:27
std
STL namespace.
std::string
STL class.
Incident.h
ContextIncident::m_tag
T m_tag
Definition: DataIncident.h:17
ContextIncident
Definition: DataIncident.h:16
ContextIncident::tag
const T & tag() const
Accesssor to the tag value (CONST)
Definition: DataIncident.h:31
Incident
Base class for all Incidents (computing events).
Definition: Incident.h:17
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71