| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IStateful.h
Go to the documentation of this file.
1 // $Id: IStateful.h,v 1.1 2008/06/02 14:20:38 marcocle Exp $
2 #ifndef GAUDIKERNEL_ISTATEFUL_H
3 #define GAUDIKERNEL_ISTATEFUL_H
4
5 // Include Files
6 #include "GaudiKernel/IInterface.h"
7 #include "GaudiKernel/StateMachine.h"
8 #include <string>
9
17 class GAUDI_API IStateful: virtual public IInterface {
18 public:
20 DeclareInterfaceID(IStateful,1,0);
21
22 virtual ~IStateful(){} //< Virtual destructor.
23
26 virtual StatusCode configure() = 0;
27
30 virtual StatusCode initialize() = 0;
31
34 virtual StatusCode start() = 0;
35
38 virtual StatusCode stop() = 0;
39
42 virtual StatusCode finalize() = 0;
43
46 virtual StatusCode terminate() = 0;
47
48
51 virtual StatusCode reinitialize() = 0;
52
55 virtual StatusCode restart() = 0;
56
59 virtual Gaudi::StateMachine::State FSMState() const = 0;
60
64 virtual Gaudi::StateMachine::State targetFSMState() const = 0;
65
66 };
67
68 #endif // GAUDIKERNEL_ISTATEFUL_H