The Gaudi Framework
v30r3 (a5ef0a68)
|
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... | |
enum Gaudi::StateMachine::State |
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool).
Enumerator | |
---|---|
OFFLINE | |
CONFIGURED | |
INITIALIZED | |
RUNNING |
Definition at line 14 of file StateMachine.h.
enum Gaudi::StateMachine::Transition |
Allowed transitions between states.
Enumerator | |
---|---|
CONFIGURE | |
INITIALIZE | |
START | |
STOP | |
FINALIZE | |
TERMINATE |
Definition at line 25 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 11 of file StateMachine.cpp.
|
inline |
Pretty print of states.
Definition at line 41 of file StateMachine.h.
|
inline |
Pretty print of transitions.
Definition at line 57 of file StateMachine.h.