#include <StateMachine.h>
Public Types | |
typedef bsc::transition < EmergencyStop, Stopping > | EST |
typedef bsc::transition < EndRun, Stopping > | ET |
typedef bsc::in_state_reaction < HaltDone, Running,&Running::logHaltDoneRequest > | HaltDoneIR |
typedef bsc::transition< Halt, Halting > | HT |
typedef boost::mpl::list< ET, EST, HT, StopDoneIR, HaltDoneIR > | reactions |
typedef bsc::in_state_reaction < StopDone, Running,&Running::logStopDoneRequest > | StopDoneIR |
Public Member Functions | |
void | logHaltDoneRequest (const HaltDone &request) |
void | logStopDoneRequest (const StopDone &request) |
Running (my_context) | |
virtual | ~Running () |
Public Member Functions inherited from stor::Operations | |
void | moveToFailedState (xcept::Exception &exception) const |
void | noFragmentToProcess () const |
Operations () | |
void | processI2OFragment (I2OChain &frag) const |
std::string | stateName () const |
virtual | ~Operations ()=0 |
Private Member Functions | |
virtual void | do_entryActionWork () |
virtual void | do_exitActionWork () |
virtual void | do_moveToFailedState (xcept::Exception &exception) const |
virtual std::string | do_stateName () const |
Additional Inherited Members | |
Protected Member Functions inherited from stor::Operations | |
virtual void | do_noFragmentToProcess () const |
virtual void | do_processI2OFragment (I2OChain &frag) const |
void | safeEntryAction () |
void | safeExitAction () |
Running state
Definition at line 469 of file StateMachine.h.
typedef bsc::transition<EmergencyStop,Stopping> stor::Running::EST |
Definition at line 478 of file StateMachine.h.
typedef bsc::transition<EndRun,Stopping> stor::Running::ET |
Definition at line 477 of file StateMachine.h.
typedef bsc::in_state_reaction<HaltDone,Running,&Running::logHaltDoneRequest> stor::Running::HaltDoneIR |
Definition at line 481 of file StateMachine.h.
typedef bsc::transition<Halt,Halting> stor::Running::HT |
Definition at line 479 of file StateMachine.h.
Definition at line 482 of file StateMachine.h.
typedef bsc::in_state_reaction<StopDone,Running,&Running::logStopDoneRequest> stor::Running::StopDoneIR |
Definition at line 480 of file StateMachine.h.
Running::Running | ( | my_context | c | ) |
|
virtual |
|
privatevirtual |
Implements stor::Operations.
Definition at line 25 of file Running.cc.
References stor::EventDistributor::clearConsumers(), stor::EventDistributor::registerErrorStreams(), stor::EventDistributor::registerEventStreams(), and stor::Operations::stateName().
|
privatevirtual |
Implements stor::Operations.
Definition at line 58 of file Running.cc.
References stor::Operations::stateName().
|
privatevirtual |
|
privatevirtual |
Implements stor::Operations.
Definition at line 85 of file Running.cc.
void Running::logHaltDoneRequest | ( | const HaltDone & | request | ) |
Definition at line 100 of file Running.cc.
void Running::logStopDoneRequest | ( | const StopDone & | request | ) |
Definition at line 95 of file Running.cc.