tsm 0.1.0
|
Classes | |
struct | Off |
struct | On |
struct | Toggle |
Public Types | |
using | transitions = std::tuple< Transition< Off, Toggle, On, &SwitchHsmContextWithActions::onTurnOn, &SwitchHsmContextWithActions::canTurnOn >, Transition< On, Toggle, Off > > |
Public Member Functions | |
bool | canTurnOn () |
void | onTurnOn () |
int | on_count () const |
Static Public Member Functions | |
static bool | canTurnOnGuard (SwitchHsmContextWithActions &ctx) |
static void | onTurnOnAction (SwitchHsmContextWithActions &ctx) |
using SwitchHsmContextWithActions::transitions = std::tuple<Transition<Off, Toggle, On, &SwitchHsmContextWithActions::onTurnOn, &SwitchHsmContextWithActions::canTurnOn>, Transition<On, Toggle, Off> > |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |