#include <StateMachine.h>
Public Types | |
typedef bsc::transition < Enable, Enabled > | ET |
typedef bsc::in_state_reaction < HaltDone, Stopped,&Stopped::logHaltDoneRequest > | HaltDoneIR |
typedef boost::mpl::list< ET, HaltDoneIR > | reactions |
Public Member Functions | |
void | logHaltDoneRequest (const HaltDone &request) |
Stopped (my_context) | |
virtual | ~Stopped () |
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 |
Stopped state
Definition at line 307 of file StateMachine.h.
typedef bsc::transition<Enable,Enabled> stor::Stopped::ET |
Definition at line 314 of file StateMachine.h.
typedef bsc::in_state_reaction<HaltDone,Stopped,&Stopped::logHaltDoneRequest> stor::Stopped::HaltDoneIR |
Definition at line 315 of file StateMachine.h.
typedef boost::mpl::list<ET,HaltDoneIR> stor::Stopped::reactions |
Definition at line 316 of file StateMachine.h.
Stopped::Stopped | ( | my_context | c | ) |
Definition at line 16 of file Stopped.cc.
References stor::Operations::safeEntryAction().
: my_base(c) { safeEntryAction(); }
Stopped::~Stopped | ( | ) | [virtual] |
Definition at line 29 of file Stopped.cc.
References stor::Operations::safeExitAction().
{ safeExitAction(); }
void Stopped::do_entryActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 21 of file Stopped.cc.
References stor::Operations::stateName().
{ TransitionRecord tr( stateName(), true ); outermost_context().updateHistory( tr ); outermost_context().setExternallyVisibleState( "Ready" ); outermost_context().getNotifier()->reportNewState( "Ready" ); }
void Stopped::do_exitActionWork | ( | ) | [private, virtual] |
Implements stor::Operations.
Definition at line 34 of file Stopped.cc.
References stor::Operations::stateName().
{ TransitionRecord tr( stateName(), false ); outermost_context().updateHistory( tr ); }
void Stopped::do_moveToFailedState | ( | xcept::Exception & | exception | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 45 of file Stopped.cc.
{ outermost_context().getSharedResources()->alarmHandler_->moveToFailedState( exception ); }
string Stopped::do_stateName | ( | ) | const [private, virtual] |
Implements stor::Operations.
Definition at line 40 of file Stopped.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
{ return std::string( "Stopped" ); }
void Stopped::logHaltDoneRequest | ( | const HaltDone & | request | ) |
Definition at line 50 of file Stopped.cc.
{ outermost_context().unconsumed_event( request ); }