The Gaudi Framework
v28r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
IDataHandleHolder.h
Go to the documentation of this file.
1
#ifndef GAUDIKERNEL_IDATAHANDLEHOLDER
2
#define GAUDIKERNEL_IDATAHANDLEHOLDER 1
3
4
#include "
GaudiKernel/IInterface.h
"
5
#include "
GaudiKernel/INamedInterface.h
"
6
#include "
GaudiKernel/DataObjID.h
"
7
8
#include <vector>
9
#include <set>
10
11
namespace
Gaudi
{
12
class
DataHandle;
13
}
14
15
class
IDataHandleVisitor
;
16
17
class
GAUDI_API
IDataHandleHolder
:
virtual
public
INamedInterface
{
18
public
:
19
20
virtual
std::vector<Gaudi::DataHandle*>
inputHandles()
const
= 0;
21
virtual
std::vector<Gaudi::DataHandle*>
outputHandles()
const
= 0;
22
23
virtual
const
DataObjIDColl
& extraInputDeps()
const
= 0;
24
virtual
const
DataObjIDColl
& extraOutputDeps()
const
= 0;
25
26
virtual
void
acceptDHVisitor(
IDataHandleVisitor
*)
const
= 0;
27
28
virtual
void
commitHandles() = 0;
29
30
virtual
const
DataObjIDColl
& inputDataObjs()
const
= 0;
31
virtual
const
DataObjIDColl
& outputDataObjs()
const
= 0;
32
33
DeclareInterfaceID
(
IDataHandleHolder
,1,0);
34
35
virtual
void
declare(
Gaudi::DataHandle
&) = 0;
36
virtual
void
renounce(
Gaudi::DataHandle
&) = 0;
37
};
38
39
class
IDataHandleVisitor
{
40
public
:
41
virtual
~
IDataHandleVisitor
() =
default
;
42
virtual
void
visit(
const
IDataHandleHolder
*) = 0;
43
};
44
45
#endif // !GAUDIKERNEL_IDATAHANDLEHOLDER
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition:
IInterface.h:14
INamedInterface.h
IDataHandleHolder
Definition:
IDataHandleHolder.h:17
Gaudi::DataHandle
Definition:
DataHandle.h:27
std::unordered_set< DataObjID, DataObjID_Hasher >
DataObjID.h
IDataHandleVisitor
Definition:
IDataHandleHolder.h:39
INamedInterface
IInterface compliant class extending IInterface with the name() method.
Definition:
INamedInterface.h:15
std::vector
STL class.
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:107
IInterface.h
Gaudi
Helper functions to set/get the application return code.
Definition:
__init__.py:1
GaudiKernel
GaudiKernel
IDataHandleHolder.h
Generated on Tue Feb 14 2017 13:19:50 for The Gaudi Framework by
1.8.11