16template <
typename DerivedStateMachine,
typename InitialStateType>
35 smacc::run<DerivedStateMachine>();
38 virtual void stop()
override
55 ROS_INFO(
"[SmaccStateMachine] Introspecting state machine via typeWalker");
56 this->buildStateMachineInfo<InitialStateType>();
58 ROS_INFO(
"[SmaccStateMachine] initiate_impl");
63 ROS_INFO(
"[SmaccStateMachine] Initializing ROS communication mechanisms");
66 ROS_INFO(
"[SmaccStateMachine] Initializing state machine");
67 sc::state_machine<DerivedStateMachine, InitialStateType, SmaccAllocator>::initiate();
void initializeROS(std::string smshortname)
virtual void onInitialize()
this function should be implemented by the user to create the orthogonals
boost::statechart::processor_container< boost::statechart::fifo_scheduler<>, boost::function0< void >, std::allocator< void > >::processor_context my_context
std::allocator< void > SmaccAllocator
std::string cleanShortTypeName(const std::type_info &tinfo)
boost::statechart::fifo_scheduler< SmaccFifoWorker, SmaccAllocator > SmaccFifoScheduler
virtual void initiate_impl() override
virtual void eStop() override
SmaccStateMachineBase(my_context ctx, SignalDetector *signalDetector)
virtual void stop() override
virtual ~SmaccStateMachineBase()
virtual void reset() override