State input and output trigger. More...
#include <trigger_inout.h>
Public Member Functions | |
TriggerInOut (T &state, TriggerHandler handler) | |
Constructor. More... | |
TriggerInOut (const TriggerInOut &)=delete | |
TriggerInOut (TriggerInOut &&)=delete | |
TriggerInOut & | operator= (const TriggerInOut &)=delete |
TriggerInOut & | operator= (TriggerInOut &&)=delete |
Trigger< T > & | GetTrigger () noexcept |
Trigger property getter. More... | |
Notifier< T > & | GetNotifier () noexcept |
Notifier property getter. More... | |
State input and output trigger.
T | State type |
|
inline |
Constructor.
state | State |
handler | Handler to be invoked after state change |
|
inlinenoexcept |
Notifier property getter.
|
inlinenoexcept |
Trigger property getter.