8 using ui16 = uint_fast16_t;
9 return static_cast<ui16
>( first ) * 256 + static_cast<ui16>( second );
15 {INITIAL,
"INITIAL"}, {CONTROLREADY,
"CONTROLREADY"}, {DATAREADY,
"DATAREADY"}, {SCHEDULED,
"SCHEDULED"},
16 {EVTACCEPTED,
"EVTACCEPTED"}, {EVTREJECTED,
"EVTREJECTED"}, {
ERROR,
"ERROR"}};
25 switch ( transition(
m_states[iAlgo], newState ) ) {
constexpr static const auto FAILURE
This class is used for returning status codes from appropriate routines.
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.
static std::map< State, std::string > stateNames
StatusCode updateState(unsigned int iAlgo, State newState)