#include <EPStateMachine.h>
Public Member Functions | |
xoap::MessageReference | createFSMReplyMsg (const std::string cmd, const std::string state) |
EPStateMachine (log4cplus::Logger &logger) | |
void | failedTransition (toolbox::Event::Reference e) throw (toolbox::fsm::exception::Exception) |
void | fireEvent (toolbox::Event::Reference e) throw (toolbox::fsm::exception::Exception) |
template<class T > | |
void | init (T *me) |
xoap::MessageReference | processFSMCommand (const std::string cmdName) throw (xoap::exception::Exception) |
void | reset () throw (toolbox::fsm::exception::Exception) |
void | stateChanged (toolbox::fsm::FiniteStateMachine &fsm) throw (toolbox::fsm::exception::Exception) |
Public Attributes | |
toolbox::fsm::State | state_ |
xdata::String | stateName_ |
Private Attributes | |
log4cplus::Logger & | logger_ |
Definition at line 15 of file EPStateMachine.h.
evf::EPStateMachine::EPStateMachine | ( | log4cplus::Logger & | logger | ) |
Definition at line 8 of file EPStateMachine.cc.
xoap::MessageReference evf::EPStateMachine::createFSMReplyMsg | ( | const std::string | cmd, |
const std::string | state | ||
) |
Definition at line 33 of file EPStateMachine.cc.
References web.browse_db::env, and lumiQueryAPI::msg.
|
inline |
Definition at line 68 of file EPStateMachine.h.
References vdt::fe, and logger_.
Referenced by init().
|
inline |
Calls FiniteStateMachine::fireEvent() and keeps stateName_ and state_ in sync.
Definition at line 106 of file EPStateMachine.h.
References alignCSCRings::e, edm::hlt::Exception, logger_, state_, and stateName_.
|
inline |
Definition at line 32 of file EPStateMachine.h.
References failedTransition(), reset(), and stateChanged().
Referenced by dqm::StateMachine::StateMachine().
xoap::MessageReference evf::EPStateMachine::processFSMCommand | ( | const std::string | cmdName | ) | |
throw | ( | xoap::exception::Exception | |||
) |
Definition at line 12 of file EPStateMachine.cc.
References alignCSCRings::e, and edm::hlt::Exception.
Referenced by dqm::StateMachine::dispatch().
|
inline |
Calls FiniteStateMachine::reset() and keeps stateName_ and state_ in sync.
Definition at line 93 of file EPStateMachine.h.
References reset(), state_, and stateName_.
Referenced by init().
|
inline |
|
private |
Definition at line 135 of file EPStateMachine.h.
Referenced by failedTransition(), fireEvent(), and stateChanged().
toolbox::fsm::State evf::EPStateMachine::state_ |
Application state as an "integer" - to be used in the application
Definition at line 22 of file EPStateMachine.h.
Referenced by fireEvent(), and reset().
xdata::String evf::EPStateMachine::stateName_ |
Application state as a string - to be used an exported parameter for run-control.
Definition at line 29 of file EPStateMachine.h.
Referenced by fireEvent(), reset(), and dqm::StateMachine::stateName().