18 using ui16 = uint_fast16_t;
19 return static_cast<ui16
>( first ) * 256 +
static_cast<ui16
>( second );
34 switch ( transition( oldState, newState ) ) {
55 log() <<
MSG::ERROR <<
"[AlgIndex " << iAlgo <<
"] Transition from " <<
m_states[iAlgo] <<
" to " << newState
56 <<
" is not allowed" <<
endmsg;
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
std::vector< State > m_states
std::vector< boost::container::flat_set< int > > m_algsInState
State
Execution states of the algorithms Must have contiguous integer values 0, 1... N.
StatusCode set(unsigned int iAlgo, State newState)
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
constexpr static const auto FAILURE