The Gaudi Framework  v29r0 (ff2e7097)
StateMachine.h File Reference
Include dependency graph for StateMachine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Gaudi
 Helper functions to set/get the application return code.
 
 Gaudi::StateMachine
 

Enumerations

enum  Gaudi::StateMachine::State { Gaudi::StateMachine::OFFLINE, Gaudi::StateMachine::CONFIGURED, Gaudi::StateMachine::INITIALIZED, Gaudi::StateMachine::RUNNING }
 Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool). More...
 
enum  Gaudi::StateMachine::Transition {
  Gaudi::StateMachine::CONFIGURE, Gaudi::StateMachine::INITIALIZE, Gaudi::StateMachine::START, Gaudi::StateMachine::STOP,
  Gaudi::StateMachine::FINALIZE, Gaudi::StateMachine::TERMINATE
}
 Allowed transitions between states. More...
 

Functions

State GAUDI_API 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. More...
 
std::ostreamGaudi::StateMachine::operator<< (std::ostream &s, const Gaudi::StateMachine::State &st)
 Pretty print of states. More...
 
std::ostreamGaudi::StateMachine::operator<< (std::ostream &s, const Gaudi::StateMachine::Transition &t)
 Pretty print of transitions. More...