#include <StateMachine.h>
Public Types | |
typedef boost::mpl::list< RT > | reactions |
typedef bsc::transition < Configure, Ready > | RT |
Public Member Functions | |
Halted (my_context) | |
virtual | ~Halted () |
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 |
Halted state
Definition at line 251 of file StateMachine.h.
typedef boost::mpl::list<RT> stor::Halted::reactions |
Definition at line 257 of file StateMachine.h.
typedef bsc::transition<Configure,Ready> stor::Halted::RT |
Definition at line 256 of file StateMachine.h.
Halted::Halted | ( | my_context | c | ) |
Definition at line 23 of file Halted.cc.
References stor::Operations::safeEntryAction().
: my_base(c) { safeEntryAction(); }
Halted::~Halted | ( | ) | [virtual] |
Definition at line 34 of file Halted.cc.
References stor::Operations::safeExitAction().
{ safeExitAction(); }
void Halted::do_entryActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 15 of file Halted.cc.
{ TransitionRecord tr( stateName(), true ); outermost_context().updateHistory( tr ); outermost_context().setExternallyVisibleState( "Halted" ); outermost_context().getNotifier()->reportNewState( "Halted" ); }
void Halted::do_exitActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 28 of file Halted.cc.
References stor::Operations::stateName().
{ TransitionRecord tr( stateName(), false ); outermost_context().updateHistory( tr ); }
void Halted::do_moveToFailedState | ( | xcept::Exception & | exception | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 44 of file Halted.cc.
{ outermost_context().getSharedResources()->moveToFailedState( exception ); }
string Halted::do_stateName | ( | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 39 of file Halted.cc.
{ return std::string( "Halted" ); }