| The Gaudi Framework v30r0 (c919700c)

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

- File List
- File Members

IStateful.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ISTATEFUL_H
2 #define GAUDIKERNEL_ISTATEFUL_H
3
4 // Include Files
5 #include "GaudiKernel/IInterface.h"
6 #include "GaudiKernel/StateMachine.h"
7 #include <string>
8
16 class GAUDI_API IStateful : virtual public IInterface
17 {
18 public:
20 DeclareInterfaceID( IStateful, 1, 0 );
21
24 virtual StatusCode configure() = 0;
25
28 virtual StatusCode initialize() = 0;
29
32 virtual StatusCode start() = 0;
33
36 virtual StatusCode stop() = 0;
37
40 virtual StatusCode finalize() = 0;
41
44 virtual StatusCode terminate() = 0;
45
48 virtual StatusCode reinitialize() = 0;
49
52 virtual StatusCode restart() = 0;
53
56 virtual Gaudi::StateMachine::State FSMState() const = 0;
57
61 virtual Gaudi::StateMachine::State targetFSMState() const = 0;
62 };
63
64 #endif // GAUDIKERNEL_ISTATEFUL_H
Gaudi::StateMachine::State
State
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool).
Definition: StateMachine.h:14
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
IOTest.start
start
Definition: IOTest.py:99
IStateful
Interface for classes that implement the Gaudi State Machine.
Definition: IStateful.h:16
StateMachine.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h