![]() |
The Gaudi Framework
v28r0
|
The AlgsExecutionStates encodes the state machine for the execution of algorithms within a single event. More...
#include <GaudiKernel/AlgsExecutionStates.h>

Classes | |
| class | Iterator |
Public Types | |
| enum | State : unsigned short { INITIAL = 0, CONTROLREADY = 1, DATAREADY = 2, SCHEDULED = 3, EVTACCEPTED = 4, EVTREJECTED = 5, ERROR = 6 } |
| Execution states of the algorithms. More... | |
Public Member Functions | |
| AlgsExecutionStates (unsigned int algsNumber, SmartIF< IMessageSvc > MS) | |
| ~AlgsExecutionStates () | |
| StatusCode | updateState (unsigned int iAlgo, State newState) |
| void | reset () |
| bool | algsPresent (State state) const |
| bool | allAlgsExecuted () |
| const State & | operator[] (unsigned int i) const |
| size_t | size () const |
| size_t | sizeOfSubset (State state) const |
| Iterator | begin (State kind) |
| Iterator | end (State kind) |
Static Public Attributes | |
| static std::map< State, std::string > | stateNames |
Private Attributes | |
| std::vector< State > | m_states |
| SmartIF< IMessageSvc > | m_MS |
The AlgsExecutionStates encodes the state machine for the execution of algorithms within a single event.
It is used by the concurrent schedulers
Definition at line 28 of file AlgsExecutionStates.h.
| enum AlgsExecutionStates::State : unsigned short |
Execution states of the algorithms.
| Enumerator | |
|---|---|
| INITIAL | |
| CONTROLREADY | |
| DATAREADY | |
| SCHEDULED | |
| EVTACCEPTED | |
| EVTREJECTED | |
| ERROR | |
Definition at line 32 of file AlgsExecutionStates.h.
|
inline |
Definition at line 44 of file AlgsExecutionStates.h.
|
inline |
Definition at line 48 of file AlgsExecutionStates.h.
|
inline |
Definition at line 54 of file AlgsExecutionStates.h.
|
inline |
Definition at line 58 of file AlgsExecutionStates.h.
Definition at line 135 of file AlgsExecutionStates.h.
Definition at line 140 of file AlgsExecutionStates.h.
|
inline |
Definition at line 63 of file AlgsExecutionStates.h.
|
inline |
Definition at line 52 of file AlgsExecutionStates.h.
|
inline |
Definition at line 69 of file AlgsExecutionStates.h.
|
inline |
Definition at line 73 of file AlgsExecutionStates.h.
| StatusCode AlgsExecutionStates::updateState | ( | unsigned int | iAlgo, |
| State | newState | ||
| ) |
Definition at line 14 of file AlgsExecutionStates.cpp.
|
private |
Definition at line 79 of file AlgsExecutionStates.h.
|
private |
Definition at line 78 of file AlgsExecutionStates.h.
|
static |
Definition at line 42 of file AlgsExecutionStates.h.