10 using ui16 = uint_fast16_t;
11 return static_cast<ui16
>( first ) * 256 + static_cast<ui16>( second );
22 switch ( transition(
m_states[iAlgo], newState ) ) {
32 log() <<
MSG::ERROR <<
"[AlgIndex " << iAlgo <<
"] Transition from " <<
m_states[iAlgo] <<
" to " << newState
33 <<
" is not allowed" <<
endmsg;
constexpr static const auto FAILURE
This class is used for returning status codes from appropriate routines.
StatusCode set(unsigned int iAlgo, State newState)
State
Execution states of the algorithms.
constexpr static const auto SUCCESS
std::vector< State > m_states
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.