SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
|
UIButton implements a button interface on the web UI. More...
#include <sensesp/ui/ui_button.h>
Public Member Functions | |
UIButton (String title, String name, bool must_confirm) | |
const bool | get_must_confirm () |
const String | get_title () |
const String | get_name () |
Public Member Functions inherited from sensesp::Observable | |
Observable () | |
Observable (Observable &&other) | |
Move constructor. | |
void | notify () |
void | attach (std::function< void()> observer) |
Static Public Member Functions | |
static const std::map< String, UIButton * > & | get_ui_buttons () |
static UIButton * | add (String name, String title, bool must_confirm=true) |
Protected Attributes | |
String | title_ |
String | name_ |
bool | must_confirm_ |
Static Protected Attributes | |
static std::map< String, UIButton * > | ui_buttons_ |
UIButton implements a button interface on the web UI.
Each UIButton object creates a button in the "Control" tab of the web UI. When the button is clicked, the object's observers are notified.
Definition at line 17 of file ui_button.h.
Definition at line 19 of file ui_button.h.
|
inlinestatic |
Definition at line 30 of file ui_button.h.
Definition at line 22 of file ui_button.h.
Definition at line 24 of file ui_button.h.
Definition at line 23 of file ui_button.h.
|
protected |
Definition at line 40 of file ui_button.h.
|
protected |
Definition at line 39 of file ui_button.h.
|
protected |
Definition at line 38 of file ui_button.h.
Definition at line 42 of file ui_button.h.