#include <States.h>
Public Types | |
typedef boost::mpl::list < boost::statechart::transition < ConfiguringDone, Ready > > | reactions |
Public Member Functions | |
void | activity () |
Configuring (my_context c) | |
virtual void | entryAction () |
virtual void | exitAction () |
virtual | ~Configuring () |
Private Attributes | |
boost::scoped_ptr< boost::thread > | configuringThread_ |
The Configuring state of outer-state AllOk.
typedef boost::mpl::list< boost::statechart::transition<ConfiguringDone,Ready> > smproxy::Configuring::reactions |
smproxy::Configuring::Configuring | ( | my_context | c | ) | [inline] |
Definition at line 244 of file States.h.
References smproxy::State< Configuring, AllOk >::safeEntryAction().
: my_state("Configuring", c) { safeEntryAction(); }
virtual smproxy::Configuring::~Configuring | ( | ) | [inline, virtual] |
Definition at line 246 of file States.h.
References smproxy::State< Configuring, AllOk >::safeExitAction().
{ safeExitAction(); }
void smproxy::Configuring::activity | ( | ) |
Definition at line 207 of file StateMachine.cc.
Referenced by entryAction().
{ outermost_context_type& stateMachine = outermost_context(); stateMachine.updateConfiguration(); boost::this_thread::interruption_point(); stateMachine.setQueueSizes(); boost::this_thread::interruption_point(); stateMachine.processEvent( ConfiguringDone() ); }
void smproxy::Configuring::entryAction | ( | ) | [virtual] |
Reimplemented from smproxy::State< Configuring, AllOk >.
Definition at line 199 of file StateMachine.cc.
References activity(), and configuringThread_.
{ configuringThread_.reset( new boost::thread( boost::bind( &Configuring::activity, this) ) ); }
void smproxy::Configuring::exitAction | ( | ) | [virtual] |
Reimplemented from smproxy::State< Configuring, AllOk >.
Definition at line 218 of file StateMachine.cc.
References configuringThread_.
{ configuringThread_->interrupt(); }
boost::scoped_ptr<boost::thread> smproxy::Configuring::configuringThread_ [private] |
Definition at line 254 of file States.h.
Referenced by entryAction(), and exitAction().