| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Gaudi::StateMachine Namespace Reference


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 ChangeState (const Transition transition, const State state)
 Function to get the new state according to the required transition, checking if the transition is allowed.

Enumeration Type Documentation

enum Gaudi::StateMachine::State

Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool).

Enumerator:
OFFLINE 
CONFIGURED 
INITIALIZED 
RUNNING 

Definition at line 12 of file StateMachine.h.

00012            {
00013   OFFLINE,
00014   CONFIGURED,
00015   INITIALIZED,
00016   RUNNING//,
00017   //FINALIZED = CONFIGURED
00018 };

enum Gaudi::StateMachine::Transition

Allowed transitions between states.

Enumerator:
CONFIGURE 
INITIALIZE 
START 
STOP 
FINALIZE 
TERMINATE 

Definition at line 23 of file StateMachine.h.

00023                 {
00024   CONFIGURE,  // OFFLINE     -> CONFIGURED
00025   INITIALIZE, // CONFIGURED  -> INITIALIZED
00026   START,      // INITIALIZED -> RUNNING
00027   STOP,       // RUNNING     -> INITIALIZED
00028   FINALIZE,   // INITIALIZED -> CONFIGURED
00029   TERMINATE   // CONFIGURED  -> OFFLINE
00030 };


Function Documentation

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.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:57:17 2011 for GaudiKernel by doxygen 1.4.7