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