Go to the documentation of this file.
19 #include <initializer_list>
24 #include <boost/container/flat_set.hpp>
105 case State::CONTROLREADY:
108 case State::DATAREADY:
111 case State::RESOURCELESS:
114 case State::SCHEDULED:
117 case State::EVTACCEPTED:
120 case State::EVTREJECTED:
std::vector< boost::container::flat_set< int > > m_algsInState
SmartIF< IMessageSvc > m_MS
std::vector< State > m_states
std::ostream & operator<<(std::ostream &s, AlgsExecutionStates::State x)
Streaming of State values.
AlgsExecutionStates(unsigned int algsNumber, SmartIF< IMessageSvc > MS)
bool contains(State state) const
check if the collection contains at least one state of requested type
bool containsAny(std::initializer_list< State > l) const
check if the collection contains at least one state of any listed types
StatusCode set(unsigned int iAlgo, State newState)
State
Execution states of the algorithms Must have contiguous integer values 0, 1...
size_t sizeOfSubset(State state) const
const boost::container::flat_set< int > algsInState(State state) const
constexpr struct Gaudi::Functional::details::insert_t insert
const State & operator[](unsigned int i) const