The Gaudi Framework
v30r3 (a5ef0a68)
|
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 30 of file AlgsExecutionStates.h.
|
inline |
Definition at line 40 of file AlgsExecutionStates.h.
Definition at line 112 of file AlgsExecutionStates.h.
|
inline |
check if the collection contains at least one state of requested type
Definition at line 48 of file AlgsExecutionStates.h.
|
inline |
|
inline |
check if the collection contains only states of listed types
Definition at line 57 of file AlgsExecutionStates.h.
Definition at line 113 of file AlgsExecutionStates.h.
|
inlineprivate |
Definition at line 76 of file AlgsExecutionStates.h.
|
inline |
Definition at line 63 of file AlgsExecutionStates.h.
|
inline |
Definition at line 45 of file AlgsExecutionStates.h.
StatusCode AlgsExecutionStates::set | ( | unsigned int | iAlgo, |
State | newState | ||
) |
Definition at line 15 of file AlgsExecutionStates.cpp.
|
inline |
Definition at line 65 of file AlgsExecutionStates.h.
|
inline |
Definition at line 67 of file AlgsExecutionStates.h.
|
private |
Definition at line 74 of file AlgsExecutionStates.h.
|
private |
Definition at line 73 of file AlgsExecutionStates.h.