DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
|
Interface class to abstract user confirmation actions from physical implementations All physical user confirmation classes must extend this This allows the use of the button on a rotary encoder, other buttons, touch screens, and other user interface methods that can trigger single click, double click, or long press type actions. More...
#include <UserConfirmationInterface.h>
Public Member Functions | |
virtual void | begin ()=0 |
Implement this to perform any initial startup methods or activities. | |
virtual UserConfirmationAction | getUserConfirmationAction ()=0 |
Implement this to check for any user confirmation actions This should be called at least once per main loop iteration. | |
virtual | ~UserConfirmationInterface ()=default |
Destructor for the object. | |
Interface class to abstract user confirmation actions from physical implementations All physical user confirmation classes must extend this This allows the use of the button on a rotary encoder, other buttons, touch screens, and other user interface methods that can trigger single click, double click, or long press type actions.
|
virtualdefault |
Destructor for the object.
|
pure virtual |
Implement this to perform any initial startup methods or activities.
Implemented in Button.
|
pure virtual |
Implement this to check for any user confirmation actions This should be called at least once per main loop iteration.
Implemented in Button.