SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp::BaseButtonHandler Class Reference

Base class for button handlers. More...

#include <sensesp/system/base_button.h>

Inheritance diagram for sensesp::BaseButtonHandler:
[legend]

Public Member Functions

 BaseButtonHandler (int pin, String config_path="")
 

Protected Attributes

std::unique_ptr< AceButton > button_
 

Detailed Description

Base class for button handlers.

Button handlers are used to handle button presses. This is an abstract base class that should be extended to implement a specific button handler.

Definition at line 21 of file base_button.h.

Constructor & Destructor Documentation

◆ BaseButtonHandler()

sensesp::BaseButtonHandler::BaseButtonHandler ( int pin,
String config_path = "" )
inline

Definition at line 23 of file base_button.h.

Here is the call graph for this function:

Member Data Documentation

◆ button_

std::unique_ptr<AceButton> sensesp::BaseButtonHandler::button_
protected

Definition at line 39 of file base_button.h.


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