1 #ifndef GAUDIHIVE_ALGSEXECUTIONSTATES_H 2 #define GAUDIHIVE_ALGSEXECUTIONSTATES_H 10 #include <initializer_list> 124 case State::CONTROLREADY:
127 case State::DATAREADY:
130 case State::SCHEDULED:
133 case State::EVTACCEPTED:
136 case State::EVTREJECTED:
148 #endif // GAUDIHIVE_ALGSEXECUTIONSTATES_H Definition of the MsgStream class used to transmit messages.
const std::vector< State > * m_v
Iterator(State s, const std::vector< State > &v, std::vector< State >::const_iterator pos)
AlgsExecutionStates(unsigned int algsNumber, SmartIF< IMessageSvc > MS)
size_t sizeOfSubset(State state) const
bool containsOnly(std::initializer_list< State > l) const
check if the collection contains only states of listed types
auto find_valid(std::vector< State >::const_iterator iter) const
friend bool operator==(const Iterator &lhs, const Iterator &rhs)
bool containsAny(std::initializer_list< State > l) const
check if the collection contains at least one state of any listed types
The AlgsExecutionStates encodes the state machine for the execution of algorithms within a single eve...
This class is used for returning status codes from appropriate routines.
Iterator & operator++(int)
SmartIF< IMessageSvc > m_MS
T find_first_of(T...args)
State
Execution states of the algorithms.
const State & operator[](unsigned int i) const
std::vector< State > m_states
Iterator begin(State kind)
std::ostream & operator<<(std::ostream &s, AlgsExecutionStates::State x)
Streaming of State values.
friend bool operator!=(const Iterator &lhs, const Iterator &rhs)
std::vector< State >::const_iterator m_pos
bool contains(State state) const
check if the collection contains at least one state of requested type