Struct SmDanceBot

Inheritance Relationships

Base Type

  • public smacc2::SmaccStateMachineBase< SmDanceBot, MsDanceBotRunMode >

Struct Documentation

struct SmDanceBot : public smacc2::SmaccStateMachineBase<SmDanceBot, MsDanceBotRunMode>

Advanced example of state machine with smacc that shows multiple techniques for the development of state machines.

Public Types

typedef mpl::bool_<false> shallow_history
typedef mpl::bool_<false> deep_history
typedef mpl::bool_<false> inherited_deep_history

Public Functions

inline virtual void onInitialize() override

Public Members

int counter_1
bool rt_ready_flag