1 #ifndef GAUDIHIVE_ALGSEXECUTIONSTATES_H 2 #define GAUDIHIVE_ALGSEXECUTIONSTATES_H 117 return s << static_cast<std::underlying_type_t<AlgsExecutionStates::State>>( x );
120 #endif // GAUDIHIVE_ALGSEXECUTIONSTATES_H bool algsPresent(State state) const
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
auto find_valid(std::vector< State >::const_iterator iter) const
friend bool operator==(const Iterator &lhs, const Iterator &rhs)
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
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 (required by C++11 scoped enums).
friend bool operator!=(const Iterator &lhs, const Iterator &rhs)
std::vector< State >::const_iterator m_pos
static std::map< State, std::string > stateNames
StatusCode updateState(unsigned int iAlgo, State newState)