![]() |
The Gaudi Framework
v36r9 (fd2bdac3)
|
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. More... | |
| std::ostream & | operator<< (std::ostream &s, const Gaudi::StateMachine::State &st) |
| Pretty print of states. More... | |
| std::ostream & | operator<< (std::ostream &s, const Gaudi::StateMachine::Transition &t) |
| Pretty print of transitions. More... | |
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool).
| Enumerator | |
|---|---|
| OFFLINE | |
| CONFIGURED | |
| INITIALIZED | |
| RUNNING | |
Definition at line 22 of file StateMachine.h.
Allowed transitions between states.
| Enumerator | |
|---|---|
| CONFIGURE | |
| INITIALIZE | |
| START | |
| STOP | |
| FINALIZE | |
| TERMINATE | |
Definition at line 33 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 |
|
inline |