#include <StateMachine.h>
Public Types | |
typedef boost::mpl::list< RT > | reactions |
typedef bsc::transition < Configure, Ready > | RT |
Public Member Functions | |
Constructed (my_context) | |
virtual | ~Constructed () |
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 |
Constructed state
Definition at line 224 of file StateMachine.h.
typedef boost::mpl::list<RT> stor::Constructed::reactions |
Definition at line 230 of file StateMachine.h.
typedef bsc::transition<Configure,Ready> stor::Constructed::RT |
Definition at line 229 of file StateMachine.h.
Constructed::Constructed | ( | my_context | c | ) |
Definition at line 21 of file Constructed.cc.
References stor::Operations::safeEntryAction().
: my_base(c) { safeEntryAction(); }
Constructed::~Constructed | ( | ) | [virtual] |
Definition at line 32 of file Constructed.cc.
References stor::Operations::safeExitAction().
{ safeExitAction(); }
void Constructed::do_entryActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 14 of file Constructed.cc.
{ TransitionRecord tr( stateName(), true ); outermost_context().updateHistory( tr ); outermost_context().setExternallyVisibleState( "Halted" ); }
void Constructed::do_exitActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 26 of file Constructed.cc.
References stor::Operations::stateName().
{ TransitionRecord tr( stateName(), false ); outermost_context().updateHistory( tr ); }
void Constructed::do_moveToFailedState | ( | xcept::Exception & | exception | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 42 of file Constructed.cc.
{ outermost_context().getSharedResources()->alarmHandler_->moveToFailedState( exception ); }
string Constructed::do_stateName | ( | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 37 of file Constructed.cc.
{ return string( "Constructed" ); }