The Gaudi Framework  v29r0 (ff2e7097)
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 {
18  T m_tag;
19 
20 public:
22 
29  : Incident( std::move( src ), std::move( typ ) ), m_tag( std::move( tag ) )
30  {
31  }
32 
34  ~ContextIncident() override = default;
35 
37  const T& tag() const { return m_tag; }
38 };
39 
42 
43 #endif // GAUDI_DATAINCIDENT_H
ContextIncident< std::string > DataIncident
Specific incident type used by the data-on-demand-service.
Definition: DataIncident.h:41
ContextIncident(std::string src, std::string typ, T tag)
Initializing Constructor.
Definition: DataIncident.h:28
STL namespace.
STL class.
Base class for all Incidents (computing events).
Definition: Incident.h:17
const T & tag() const
Accesssor to the tag value (CONST)
Definition: DataIncident.h:37
#define GAUDI_API
Definition: Kernel.h:110