Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IOBoundAlgTask.h
Go to the documentation of this file.
1 #ifndef GAUDIHIVE_IOBOUNDALGTASK_H
2 #define GAUDIHIVE_IOBOUNDALGTASK_H
3 
4 // Framework include files
7 #include "GaudiKernel/IAlgTask.h"
10 #include "GaudiKernel/SmartIF.h"
11 
12 #include <functional>
13 
23 class IOBoundAlgTask : public IAlgTask {
24 public:
26  std::function<StatusCode()> promote2ExecutedClosure )
27  : m_algorithm( algorithm )
28  , m_evtCtx( ctx )
29  , m_aess( aem )
30  , m_serviceLocator( svcLocator )
31  , m_promote2ExecutedClosure( std::move( promote2ExecutedClosure ) ) {}
32 
33  StatusCode execute() override final;
34 
35 private:
41 };
42 
43 #endif
Wrapper around I/O-bound Gaudi-algorithms.
SmartIF< IAlgorithm > m_algorithm
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
IOBoundAlgTask(IAlgorithm *algorithm, const EventContext &ctx, ISvcLocator *svcLocator, IAlgExecStateSvc *aem, std::function< StatusCode()> promote2ExecutedClosure)
StatusCode execute() override final
STL namespace.
This class represents an entry point to all the event specific data.
Definition: EventContext.h:31
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:50
const EventContext & m_evtCtx
SmartIF< ISvcLocator > m_serviceLocator
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition: IAlgorithm.h:28
IAlgExecStateSvc * m_aess
std::function< StatusCode()> m_promote2ExecutedClosure