![]() |
The Gaudi Framework
v40r0 (475e45c1)
|
#include <GaudiKernel/AlgsExecutionStates.h>

Public Types | |
| enum | State : uint8_t { INITIAL = 0, CONTROLREADY = 1, DATAREADY = 2, RESOURCELESS = 3, SCHEDULED = 4, EVTACCEPTED = 5, EVTREJECTED = 6, ERROR = 7, MAXVALUE = 8 } |
| Execution states of the algorithms Must have contiguous integer values 0, 1... 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... | |
| const boost::container::flat_set< int > | algsInState (State state) const |
| const State & | operator[] (unsigned int i) const |
| size_t | size () const |
| size_t | sizeOfSubset (State state) const |
Private Member Functions | |
| MsgStream | log () |
Private Attributes | |
| std::vector< State > | m_states |
| std::vector< boost::container::flat_set< int > > | m_algsInState |
| 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 37 of file AlgsExecutionStates.h.
| enum AlgsExecutionStates::State : uint8_t |
Execution states of the algorithms Must have contiguous integer values 0, 1...
N
| Enumerator | |
|---|---|
| INITIAL | |
| CONTROLREADY | |
| DATAREADY | |
| RESOURCELESS | |
| SCHEDULED | |
| EVTACCEPTED | |
| EVTREJECTED | |
| ERROR | |
| MAXVALUE | |
Definition at line 41 of file AlgsExecutionStates.h.
|
inline |
Definition at line 53 of file AlgsExecutionStates.h.
|
inline |
Definition at line 82 of file AlgsExecutionStates.h.
|
inline |
check if the collection contains at least one state of requested type
Definition at line 71 of file AlgsExecutionStates.h.
|
inline |
check if the collection contains at least one state of any listed types
Definition at line 74 of file AlgsExecutionStates.h.
|
inlineprivate |
Definition at line 95 of file AlgsExecutionStates.h.
|
inline |
Definition at line 84 of file AlgsExecutionStates.h.
|
inline |
Definition at line 62 of file AlgsExecutionStates.h.
| StatusCode AlgsExecutionStates::set | ( | unsigned int | iAlgo, |
| State | newState | ||
| ) |
Definition at line 23 of file AlgsExecutionStates.cpp.
|
inline |
Definition at line 86 of file AlgsExecutionStates.h.
|
inline |
Definition at line 88 of file AlgsExecutionStates.h.
|
private |
Definition at line 92 of file AlgsExecutionStates.h.
|
private |
Definition at line 93 of file AlgsExecutionStates.h.
|
private |
Definition at line 91 of file AlgsExecutionStates.h.