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

#include <LedBuzzerSM.hpp>

Public Member Functions

template<class Event , class Fsm , class SourceState , class TargetState >
void operator() (Event const &, Fsm &, SourceState &, TargetState &) const
 
template<class Event , class Fsm , class TargetState >
void operator() (Event const &, Fsm &fsm, PlayingPattern &ss, TargetState &) const
 Updating PlayingPattern. More...
 
template<class Event , class Fsm , class TargetState >
void operator() (Event const &, Fsm &fsm, StateBlinking &ss, TargetState &) const
 Blink by toggling the GPIO, or return to Idle state. More...
 

Detailed Description

Definition at line 205 of file LedBuzzerSM.hpp.

Member Function Documentation

◆ operator()() [1/3]

template<class Event , class Fsm , class SourceState , class TargetState >
void Leosac::Module::LedBuzzer::SM::LedBuzzerSM_::UpdateAction::operator() ( Event const &  ,
Fsm &  ,
SourceState &  ,
TargetState &   
) const
inline

Definition at line 208 of file LedBuzzerSM.hpp.

◆ operator()() [2/3]

template<class Event , class Fsm , class TargetState >
void Leosac::Module::LedBuzzer::SM::LedBuzzerSM_::UpdateAction::operator() ( Event const &  ,
Fsm &  fsm,
PlayingPattern ss,
TargetState &   
) const
inline

Updating PlayingPattern.

Chose to stop or setup a blinking behavior by firing an event.

Definition at line 220 of file LedBuzzerSM.hpp.

◆ operator()() [3/3]

template<class Event , class Fsm , class TargetState >
void Leosac::Module::LedBuzzer::SM::LedBuzzerSM_::UpdateAction::operator() ( Event const &  ,
Fsm &  fsm,
StateBlinking ss,
TargetState &   
) const
inline

Blink by toggling the GPIO, or return to Idle state.

Definition at line 242 of file LedBuzzerSM.hpp.


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