The Gaudi Framework
v29r0 (ff2e7097)
|
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 47 of file AlgsExecutionStates.h.
|
inline |
Definition at line 53 of file AlgsExecutionStates.h.
|
inline |
Definition at line 58 of file AlgsExecutionStates.h.
Definition at line 125 of file AlgsExecutionStates.h.
Definition at line 127 of file AlgsExecutionStates.h.
|
inline |
Definition at line 65 of file AlgsExecutionStates.h.
|
inline |
Definition at line 51 of file AlgsExecutionStates.h.
|
inline |
Definition at line 67 of file AlgsExecutionStates.h.
|
inline |
Definition at line 69 of file AlgsExecutionStates.h.
StatusCode AlgsExecutionStates::updateState | ( | unsigned int | iAlgo, |
State | newState | ||
) |
Definition at line 8 of file AlgsExecutionStates.cpp.
|
private |
Definition at line 76 of file AlgsExecutionStates.h.
|
private |
Definition at line 75 of file AlgsExecutionStates.h.
|
static |
Definition at line 42 of file AlgsExecutionStates.h.