#include <StateMachine.h>
Public Types | |
typedef bsc::transition< Fail, Failed > | FT |
typedef boost::mpl::list< FT > | reactions |
Public Member Functions | |
Normal (my_context) | |
virtual | ~Normal () |
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 |
Normal state
Definition at line 197 of file StateMachine.h.
typedef bsc::transition<Fail,Failed> stor::Normal::FT |
Definition at line 202 of file StateMachine.h.
typedef boost::mpl::list<FT> stor::Normal::reactions |
Definition at line 203 of file StateMachine.h.
Normal::Normal | ( | my_context | c | ) |
Definition at line 18 of file Normal.cc.
References stor::Operations::safeEntryAction().
: my_base(c) { safeEntryAction(); }
Normal::~Normal | ( | ) | [virtual] |
Definition at line 29 of file Normal.cc.
References stor::Operations::safeExitAction().
{ safeExitAction(); }
void Normal::do_entryActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 12 of file Normal.cc.
{ TransitionRecord tr( stateName(), true ); outermost_context().updateHistory( tr ); }
void Normal::do_exitActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 23 of file Normal.cc.
References stor::Operations::stateName().
{ TransitionRecord tr( stateName(), false ); outermost_context().updateHistory( tr ); }
void Normal::do_moveToFailedState | ( | xcept::Exception & | exception | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 39 of file Normal.cc.
{ outermost_context().getSharedResources()->moveToFailedState( exception ); }
string Normal::do_stateName | ( | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 34 of file Normal.cc.
{ return std::string( "Normal" ); }