6 {CONTROLREADY,
"CONTROLREADY"},
7 {DATAREADY,
"DATAREADY"},
8 {SCHEDULED,
"SCHEDULED"},
9 {EVTACCEPTED,
"EVTACCEPTED"},
10 {EVTREJECTED,
"EVTREJECTED"},
17 const unsigned int states_size =
m_states.size();
19 if (iAlgo>=states_size){
21 << iAlgo <<
" and the size of the states vector is "
22 << states_size <<
")" <<
endmsg;
29 log <<
MSG::ERROR <<
"[AlgIndex " << iAlgo <<
"] Transition to INITIAL is not defined.";
34 log <<
MSG::ERROR <<
"[AlgIndex " << iAlgo <<
"] Transition to CONTROLREADY possible only from INITIAL state! The state is " <<
m_states[iAlgo] <<
endmsg;
43 log <<
MSG::ERROR <<
"[AlgIndex " << iAlgo <<
"] Transition to DATAREADY possible only from CONTROLREADY state!The state is " <<
m_states[iAlgo] <<
endmsg;
51 log <<
MSG::ERROR <<
"[AlgIndex " << iAlgo <<
"] Transition to SCHEDULED possible only from DATAREADY state! The state is " <<
m_states[iAlgo] <<
endmsg;
60 log <<
MSG::ERROR <<
"[AlgIndex " << iAlgo <<
"] Transition to EVTACCEPTED possible only from SCHEDULED state! The state is " <<
m_states[iAlgo] <<
endmsg;
69 log <<
MSG::ERROR <<
"[AlgIndex " << iAlgo <<
"] Transition to EVTREJECT possible only from SCHEDULED state! The state is " <<
m_states[iAlgo] <<
endmsg;
Definition of the MsgStream class used to transmit messages.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
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.
static std::map< State, std::string > stateNames
StatusCode updateState(unsigned int iAlgo, State newState)