| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

IOBoundAlgTask.h
Go to the documentation of this file.
1 #ifndef GAUDIHIVE_IOBOUNDALGTASK_H
2 #define GAUDIHIVE_IOBOUNDALGTASK_H
3
4 // Framework include files
5 #include "GaudiKernel/IAlgTask.h"
6 #include "GaudiKernel/IAlgorithm.h"
7 #include "GaudiKernel/SmartIF.h"
8 #include "GaudiKernel/ISvcLocator.h"
9 #include "GaudiKernel/EventContext.h"
10 #include "GaudiKernel/IAlgExecStateSvc.h"
11
21 class IOBoundAlgTask : public IAlgTask {
22 public:
23 IOBoundAlgTask(IAlgorithm* algorithm,
24 unsigned int algoIndex,
25 EventContext* ctx,
26 ISvcLocator* svcLocator,
27 IAlgExecStateSvc* aem):
28 m_algorithm(algorithm),
29 m_evtCtx(ctx),
30 m_algoIndex(algoIndex),
31 m_aess(aem),
32 m_serviceLocator(svcLocator) {}
33
34 ~IOBoundAlgTask() override {}
35
36 virtual StatusCode execute() override;
37
38 private:
39 SmartIF<IAlgorithm> m_algorithm;
40 EventContext* m_evtCtx;
41 const unsigned int m_algoIndex;
42 IAlgExecStateSvc *m_aess;
43 SmartIF<ISvcLocator> m_serviceLocator;
44 };
45
46 #endif
IOBoundAlgTask
Wrapper around I/O-bound Gaudi-algorithms.
Definition: IOBoundAlgTask.h:21
IOBoundAlgTask::~IOBoundAlgTask
~IOBoundAlgTask() override
Definition: IOBoundAlgTask.h:34
SmartIF< IAlgorithm >
IOBoundAlgTask::m_algorithm
SmartIF< IAlgorithm > m_algorithm
Definition: IOBoundAlgTask.h:39
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
IAlgExecStateSvc.h
IAlgorithm.h
IAlgTask.h
IOBoundAlgTask::m_evtCtx
EventContext * m_evtCtx
Definition: IOBoundAlgTask.h:40
EventContext.h
EventContext
This class represents an entry point to all the event specific data.
Definition: EventContext.h:25
IOBoundAlgTask::IOBoundAlgTask
IOBoundAlgTask(IAlgorithm *algorithm, unsigned int algoIndex, EventContext *ctx, ISvcLocator *svcLocator, IAlgExecStateSvc *aem)
Definition: IOBoundAlgTask.h:23
IOBoundAlgTask::execute
virtual StatusCode execute() override
Definition: IOBoundAlgTask.cpp:13
IAlgTask
General interface for a wrapper around Gaudi algorithm.
Definition: IAlgTask.h:15
Gaudi::svcLocator
GAUDI_API ISvcLocator * svcLocator()
IAlgExecStateSvc
Abstract interface for a service that manages the Algorithm execution states.
Definition: IAlgExecStateSvc.h:71
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
SmartIF.h
IOBoundAlgTask::m_serviceLocator
SmartIF< ISvcLocator > m_serviceLocator
Definition: IOBoundAlgTask.h:43
IAlgorithm
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition: IAlgorithm.h:27
IOBoundAlgTask::m_algoIndex
const unsigned int m_algoIndex
Definition: IOBoundAlgTask.h:41
IOBoundAlgTask::m_aess
IAlgExecStateSvc * m_aess
Definition: IOBoundAlgTask.h:42
ISvcLocator.h