The Gaudi Framework
v30r3 (a5ef0a68)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
{
18
T
m_tag
;
19
20
public
:
22
28
ContextIncident
(
std::string
src,
std::string
typ, T tag )
29
:
Incident
(
std
::move( src ),
std
::move( typ ) ), m_tag(
std
::move( tag ) )
30
{
31
}
32
34
const
T&
tag
()
const
{
return
m_tag; }
35
};
36
38
typedef
ContextIncident<std::string>
DataIncident
;
39
40
#endif // GAUDI_DATAINCIDENT_H
DataIncident
ContextIncident< std::string > DataIncident
Specific incident type used by the data-on-demand-service.
Definition:
DataIncident.h:38
ContextIncident::ContextIncident
ContextIncident(std::string src, std::string typ, T tag)
Initializing Constructor.
Definition:
DataIncident.h:28
std
STL namespace.
std::string
STL class.
Incident.h
ContextIncident::m_tag
T m_tag
Definition:
DataIncident.h:18
ContextIncident
Definition:
DataIncident.h:16
Incident
Base class for all Incidents (computing events).
Definition:
Incident.h:17
ContextIncident::tag
const T & tag() const
Accesssor to the tag value (CONST)
Definition:
DataIncident.h:34
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:104
GaudiKernel
GaudiKernel
DataIncident.h
Generated on Wed Aug 1 2018 23:21:01 for The Gaudi Framework by
1.8.11