| The Gaudi Framework v32r1 (f65d50dc)

IAlgTool.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IALGTOOL_H
2 #define GAUDIKERNEL_IALGTOOL_H
3
4 // Include files
5 #include "GaudiKernel/INamedInterface.h"
6 #include "GaudiKernel/IStateful.h"
7 #include <string>
8
9 // Forward declarations
10 class IAlgorithm;
11
23 class GAUDI_API IAlgTool : virtual public INamedInterface {
24 public:
26 DeclareInterfaceID( IAlgTool, 4, 0 );
27
29 virtual const std::string& type() const = 0;
30
34 virtual const IInterface* parent() const = 0;
35
36 // --- Methods from IStateful ---
39 virtual StatusCode configure() = 0;
40
43 virtual StatusCode initialize() = 0;
44
47 virtual StatusCode start() = 0;
48
51 virtual StatusCode stop() = 0;
52
55 virtual StatusCode finalize() = 0;
56
59 virtual StatusCode terminate() = 0;
60
63 virtual StatusCode reinitialize() = 0;
64
67 virtual StatusCode restart() = 0;
68
71 virtual Gaudi::StateMachine::State FSMState() const = 0;
72
77 virtual StatusCode sysInitialize() = 0;
78
83 virtual StatusCode sysStart() = 0;
84
89 virtual StatusCode sysStop() = 0;
90
95 virtual StatusCode sysFinalize() = 0;
96
101 virtual StatusCode sysReinitialize() = 0;
102
107 virtual StatusCode sysRestart() = 0;
108 };
109
110 #endif // GAUDIKERNEL_IALGTOOL_H
INamedInterface::DeclareInterfaceID
DeclareInterfaceID(INamedInterface, 1, 0)
InterfaceID.
Gaudi::StateMachine::State
State
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm,...
Definition: StateMachine.h:12
IOTest.start
def start
Definition: IOTest.py:97
std::string
STL class.
INamedInterface.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
IInterface
Definition of the basic interface.
Definition: IInterface.h:244
gaudirun.type
type
Definition: gaudirun.py:142
IStateful.h
IAlgorithm
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition: IAlgorithm.h:28
INamedInterface
IInterface compliant class extending IInterface with the name() method.
Definition: INamedInterface.h:15
IAlgTool
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71