| The Gaudi Framework v27r1

- 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 virtual ~IDataHandleHolder() {}
20
21 virtual std::vector<Gaudi::DataHandle*> inputHandles() const = 0;
22 virtual std::vector<Gaudi::DataHandle*> outputHandles() const = 0;
23
24 virtual const DataObjIDColl& extraInputDeps() const = 0;
25 virtual const DataObjIDColl& extraOutputDeps() const = 0;
26
27 virtual void acceptDHVisitor(IDataHandleVisitor*) const = 0;
28
29 virtual void commitHandles() = 0;
30
31 DeclareInterfaceID(IDataHandleHolder,1,0);
32
33 protected:
34 virtual void declareInput(Gaudi::DataHandle*) = 0;
35 virtual void declareOutput(Gaudi::DataHandle*) = 0;
36 };
37
38 class IDataHandleVisitor {
39 public:
40 virtual ~IDataHandleVisitor() {}
41 virtual void visit(const IDataHandleHolder*) = 0;
42 };
43
44 #endif // !GAUDIKERNEL_IDATAHANDLEHOLDER
INamedInterface::DeclareInterfaceID
DeclareInterfaceID(INamedInterface, 1, 0)
InterfaceID.
IDataHandleVisitor::visit
virtual void visit(const IDataHandleHolder *)=0
INamedInterface.h
IDataHandleHolder
Definition: IDataHandleHolder.h:17
Gaudi::DataHandle
Definition: DataHandle.h:27
std::unordered_set< DataObjID, DataObjID_Hasher >
DataObjID.h
IDataHandleVisitor::~IDataHandleVisitor
virtual ~IDataHandleVisitor()
Definition: IDataHandleHolder.h:40
IDataHandleVisitor
Definition: IDataHandleHolder.h:38
INamedInterface
IInterface compliant class extending IInterface with the name() method.
Definition: INamedInterface.h:15
std::vector< Gaudi::DataHandle * >
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
IDataHandleHolder::~IDataHandleHolder
virtual ~IDataHandleHolder()
Definition: IDataHandleHolder.h:19