| The Gaudi Framework v32r1 (f65d50dc)

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 public:
19 DeclareInterfaceID( IStateful, 1, 0 );
20
23 virtual StatusCode configure() = 0;
24
27 virtual StatusCode initialize() = 0;
28
31 virtual StatusCode start() = 0;
32
35 virtual StatusCode stop() = 0;
36
39 virtual StatusCode finalize() = 0;
40
43 virtual StatusCode terminate() = 0;
44
47 virtual StatusCode reinitialize() = 0;
48
51 virtual StatusCode restart() = 0;
52
55 virtual Gaudi::StateMachine::State FSMState() const = 0;
56
60 virtual Gaudi::StateMachine::State targetFSMState() const = 0;
61 };
62
63 #endif // GAUDIKERNEL_ISTATEFUL_H
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
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
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
IStateful
Interface for classes that implement the Gaudi State Machine.
Definition: IStateful.h:16
StateMachine.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
IInterface.h