17 using namespace evf::rb_statemachine;
25 fsm_(fsm), commands_(comms), continueWorkloop_(
true) {
38 cout <<
"Start 'SCHEDULER EVENT PROCESSING' workloop" << endl;
40 "Scheduler Processing Events",
"waiting");
47 string msg =
"Failed to start workloop 'SCHEDULER EVENT PROCESSING'.";
59 fsm_->transitionWriteLock();
61 fsm_->process_event(*topEvent);
63 fsm_->transitionUnlock();
71 const_cast<BaseState&
> (
fsm_->getCurrentState()).do_stateNotify();
74 fsm_->getCurrentState().do_stateAction();
boost::shared_ptr< boost::statechart::event_base > EventPtr
toolbox::task::WorkLoop * wlProcessingEvents_
bool processing(toolbox::task::WorkLoop *wl)
SMEventScheduler(RBStateMachinePtr fsm, CommandQueue &commands_)
boost::shared_ptr< RBStateMachine > RBStateMachinePtr
toolbox::task::ActionSignature * asProcessingEvents_
void startSchedulerWorkloop()