![]() |
The Gaudi Framework
master (1304469f)
|
Enumerations | |
| enum | State { OFFLINE , CONFIGURED , INITIALIZED , RUNNING } |
| Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool). More... | |
| enum | Transition { CONFIGURE , INITIALIZE , START , STOP , FINALIZE , TERMINATE } |
| Allowed transitions between states. More... | |
Functions | |
| State GAUDI_API | ChangeState (const Transition transition, const State state) |
| Function to get the new state according to the required transition, checking if the transition is allowed. | |
| std::ostream & | operator<< (std::ostream &s, const Gaudi::StateMachine::State &st) |
| Pretty print of states. | |
| std::ostream & | operator<< (std::ostream &s, const Gaudi::StateMachine::Transition &t) |
| Pretty print of transitions. | |
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool).
| Enumerator | |
|---|---|
| OFFLINE | |
| CONFIGURED | |
| INITIALIZED | |
| RUNNING | |
Definition at line 21 of file StateMachine.h.
Allowed transitions between states.
| Enumerator | |
|---|---|
| CONFIGURE | |
| INITIALIZE | |
| START | |
| STOP | |
| FINALIZE | |
| TERMINATE | |
Definition at line 32 of file StateMachine.h.
| State Gaudi::StateMachine::ChangeState | ( | const Transition | transition, |
| const State | state ) |
Function to get the new state according to the required transition, checking if the transition is allowed.
Definition at line 19 of file StateMachine.cpp.
|
inline |
Pretty print of states.
Definition at line 48 of file StateMachine.h.
|
inline |
Pretty print of transitions.
Definition at line 64 of file StateMachine.h.