5 {INITIAL,
"INITIAL"}, {CONTROLREADY,
"CONTROLREADY"}, {DATAREADY,
"DATAREADY"}, {SCHEDULED,
"SCHEDULED"},
6 {EVTACCEPTED,
"EVTACCEPTED"}, {EVTREJECTED,
"EVTREJECTED"}, {
ERROR,
"ERROR"}};
14 if ( iAlgo >= states_size ) {
15 log <<
MSG::ERROR <<
"Index out of bound (" << iAlgo <<
" and the size of the states vector is " << states_size
23 log <<
MSG::ERROR <<
"[AlgIndex " << iAlgo <<
"] Transition to INITIAL is not defined.";
29 <<
"] Transition to CONTROLREADY possible only from INITIAL state! The state is " <<
m_states[iAlgo]
40 <<
"] Transition to DATAREADY possible only from CONTROLREADY state!The state is " <<
m_states[iAlgo]
50 <<
"] Transition to SCHEDULED possible only from DATAREADY state! The state is " <<
m_states[iAlgo] <<
endmsg;
60 <<
"] Transition to EVTACCEPTED possible only from SCHEDULED state! The state is " <<
m_states[iAlgo]
71 <<
"] Transition to EVTREJECT possible only from SCHEDULED state! The state is " <<
m_states[iAlgo] <<
endmsg;
Definition of the MsgStream class used to transmit messages.
This class is used for returning status codes from appropriate routines.
SmartIF< IMessageSvc > m_MS
std::vector< State > m_states
State
Execution states of the algorithms.
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)