![]() |
The Gaudi Framework
v31r0 (aeb156f0)
|
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 : uint8_t { 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) | |
| StatusCode | set (unsigned int iAlgo, State newState) |
| void | reset () |
| bool | contains (State state) const |
| check if the collection contains at least one state of requested type More... | |
| bool | containsAny (std::initializer_list< State > l) const |
| check if the collection contains at least one state of any listed types More... | |
| bool | containsOnly (std::initializer_list< State > l) const |
| check if the collection contains only states of listed types More... | |
| 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) |
Private Member Functions | |
| MsgStream | log () |
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 26 of file AlgsExecutionStates.h.
Execution states of the algorithms.
| Enumerator | |
|---|---|
| INITIAL | |
| CONTROLREADY | |
| DATAREADY | |
| SCHEDULED | |
| EVTACCEPTED | |
| EVTREJECTED | |
| ERROR | |
Definition at line 29 of file AlgsExecutionStates.h.
|
inline |
Definition at line 39 of file AlgsExecutionStates.h.
Definition at line 103 of file AlgsExecutionStates.h.
|
inline |
check if the collection contains at least one state of requested type
Definition at line 47 of file AlgsExecutionStates.h.
|
inline |
|
inline |
check if the collection contains only states of listed types
Definition at line 55 of file AlgsExecutionStates.h.
Definition at line 104 of file AlgsExecutionStates.h.
|
inlineprivate |
Definition at line 72 of file AlgsExecutionStates.h.
|
inline |
Definition at line 60 of file AlgsExecutionStates.h.
|
inline |
Definition at line 44 of file AlgsExecutionStates.h.
| StatusCode AlgsExecutionStates::set | ( | unsigned int | iAlgo, |
| State | newState | ||
| ) |
Definition at line 13 of file AlgsExecutionStates.cpp.
|
inline |
Definition at line 62 of file AlgsExecutionStates.h.
|
inline |
Definition at line 64 of file AlgsExecutionStates.h.
|
private |
Definition at line 70 of file AlgsExecutionStates.h.
|
private |
Definition at line 69 of file AlgsExecutionStates.h.