All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
17 public:
19 
25  ContextIncident(const std::string& src,const std::string& typ,T tag)
26  : Incident(src,typ), m_tag(tag) { }
27 
29  virtual ~ContextIncident() { }
30 
32  const T& tag() const { return m_tag; }
33 
34 private:
35  T m_tag;
36 };
37 
40 
41 #endif //GAUDI_DATAINCIDENT_H
ContextIncident< std::string > DataIncident
Specific incident type used by the data-on-demand-service.
Definition: DataIncident.h:39
ContextIncident(const std::string &src, const std::string &typ, T tag)
Initializing Constructor.
Definition: DataIncident.h:25
virtual ~ContextIncident()
Standard destructor.
Definition: DataIncident.h:29
Base class for all Incidents (computing events).
Definition: Incident.h:16
const T & tag() const
Accesssor to the tag value (CONST)
Definition: DataIncident.h:32
#define GAUDI_API
Definition: Kernel.h:108