19#include <initializer_list>
24#include <boost/container/flat_set.hpp>
75 for (
auto state : l )
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::ostream & operator<<(std::ostream &s, AlgsExecutionStates::State x)
Streaming of State values.
AlgsExecutionStates(unsigned int algsNumber, SmartIF< IMessageSvc > MS)
const State & operator[](unsigned int i) const
const boost::container::flat_set< int > algsInState(State state) const
std::vector< State > m_states
std::vector< boost::container::flat_set< int > > m_algsInState
size_t sizeOfSubset(State state) const
bool contains(State state) const
check if the collection contains at least one state of requested type
State
Execution states of the algorithms Must have contiguous integer values 0, 1... N.
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)
SmartIF< IMessageSvc > m_MS
Definition of the MsgStream class used to transmit messages.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.