#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 24 of file Halted.cc.
References stor::Operations::safeEntryAction().
: my_base(c) { safeEntryAction(); }
Halted::~Halted | ( | ) | [virtual] |
Definition at line 35 of file Halted.cc.
References stor::Operations::safeExitAction().
{ safeExitAction(); }
void Halted::do_entryActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 16 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 29 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 45 of file Halted.cc.
{ outermost_context().getSharedResources()->alarmHandler_->moveToFailedState( exception ); }
string Halted::do_stateName | ( | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 40 of file Halted.cc.
{ return std::string( "Halted" ); }