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"
7 #include "GaudiKernel/SmartIF.h"
11 
21 class IOBoundAlgTask : public IAlgTask {
22 public:
24  unsigned int algoIndex,
25  EventContext* ctx,
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:
41  const unsigned int m_algoIndex;
44 };
45 
46 #endif
Wrapper around I/O-bound Gaudi-algorithms.
~IOBoundAlgTask() override
SmartIF< IAlgorithm > m_algorithm
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
EventContext * m_evtCtx
This class represents an entry point to all the event specific data.
Definition: EventContext.h:25
IOBoundAlgTask(IAlgorithm *algorithm, unsigned int algoIndex, EventContext *ctx, ISvcLocator *svcLocator, IAlgExecStateSvc *aem)
virtual StatusCode execute() override
General interface for a wrapper around Gaudi algorithm.
Definition: IAlgTask.h:15
GAUDI_API ISvcLocator * svcLocator()
Abstract interface for a service that manages the Algorithm execution states.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
SmartIF< ISvcLocator > m_serviceLocator
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition: IAlgorithm.h:27
const unsigned int m_algoIndex
IAlgExecStateSvc * m_aess