#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 20 of file Constructed.cc.
References stor::Operations::safeEntryAction().
: my_base(c) { safeEntryAction(); }
Constructed::~Constructed | ( | ) | [virtual] |
Definition at line 31 of file Constructed.cc.
References stor::Operations::safeExitAction().
{ safeExitAction(); }
void Constructed::do_entryActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 13 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 25 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 41 of file Constructed.cc.
{ outermost_context().getSharedResources()->moveToFailedState( exception ); }
string Constructed::do_stateName | ( | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 36 of file Constructed.cc.
{ return string( "Constructed" ); }