Leosac  0.8.0
Open Source Access Control
Leosac::Module::LedBuzzer::SM::LedBuzzerSM_::transition_guard Struct Reference

A transition guard that check EventBlinkStop. More...

#include <LedBuzzerSM.hpp>

Public Member Functions

template<class Fsm , class SourceState , class TargetState >
bool operator() (const EventBlinkStop &, Fsm &fsm, SourceState &, TargetState &)
 

Detailed Description

A transition guard that check EventBlinkStop.

It choses which state we go to after receiving EventBlinkStop. Either we go back to EventPlayingPattern or to Idle.

Definition at line 261 of file LedBuzzerSM.hpp.

Member Function Documentation

◆ operator()()

template<class Fsm , class SourceState , class TargetState >
bool Leosac::Module::LedBuzzer::SM::LedBuzzerSM_::transition_guard::operator() ( const EventBlinkStop ,
Fsm &  fsm,
SourceState &  ,
TargetState &   
)
inline

Definition at line 264 of file LedBuzzerSM.hpp.


The documentation for this struct was generated from the following file: