DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Button Class Reference

#include <Button.h>

Inheritance diagram for Button:
Inheritance graph
[legend]
Collaboration diagram for Button:
Collaboration graph
[legend]

Public Member Functions

 Button ()
 Constructor for the button object.
 
void begin () override
 Not required to be implemented for this type.
 
UserConfirmationAction getUserConfirmationAction ()
 Check for any user confirmation actions This should be called at least once per main loop iteration.
 
- Public Member Functions inherited from UserConfirmationInterface
virtual ~UserConfirmationInterface ()=default
 Destructor for the object.
 

Private Attributes

Switch_button
 

Constructor & Destructor Documentation

◆ Button()

Button::Button ( )

Constructor for the button object.

Member Function Documentation

◆ begin()

void Button::begin ( )
overridevirtual

Not required to be implemented for this type.

Implements UserConfirmationInterface.

◆ getUserConfirmationAction()

UserConfirmationAction Button::getUserConfirmationAction ( )
virtual

Check for any user confirmation actions This should be called at least once per main loop iteration.

Returns
UserSelectionConfirmation::[None|SingleClick|DoubleClick|LongPress]

Implements UserConfirmationInterface.

Here is the call graph for this function:

Member Data Documentation

◆ _button

Switch* Button::_button
private

The documentation for this class was generated from the following files: