SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
|
#include <sensesp_app.h>
Public Member Functions | |
SensESPApp (SensESPApp &other)=delete | |
void | operator= (const SensESPApp &)=delete |
ObservableValue< String > * | get_hostname_observable () |
SKDeltaQueue * | get_sk_delta () |
SystemStatusController * | get_system_status_controller () |
Networking * | get_networking () |
WSClient * | get_ws_client () |
Public Member Functions inherited from sensesp::SensESPBaseApp | |
virtual void | start () |
Start the app (activate all the subcomponents) | |
virtual void | reset () |
Reset the device to factory defaults. | |
ObservableValue< String > * | get_hostname_observable () |
Get the hostname observable object. | |
Static Public Member Functions | |
static SensESPApp * | get () |
Get the singleton instance of the SensESPApp. | |
Static Public Member Functions inherited from sensesp::SensESPBaseApp | |
static SensESPBaseApp * | get () |
Get the singleton instance of the SensESPBaseApp. | |
static String | get_hostname () |
Get the current hostname. | |
Protected Member Functions | |
SensESPApp () | |
SensESPApp constructor. | |
const SensESPApp * | set_hostname (String hostname) |
const SensESPApp * | set_ssid (String ssid) |
const SensESPApp * | set_wifi_password (String wifi_password) |
const SensESPApp * | set_sk_server_address (String sk_server_address) |
const SensESPApp * | set_sk_server_port (uint16_t sk_server_port) |
const SensESPApp * | set_system_status_led (SystemStatusLed *system_status_led) |
const SensESPApp * | enable_ota (const char *password) |
const SensESPApp * | set_button_pin (int pin) |
const SensESPApp * | set_wifi_manager_password (const char *password) |
void | setup () |
Perform initialization of SensESPApp once builder configuration is done. | |
Protected Member Functions inherited from sensesp::SensESPBaseApp | |
SensESPBaseApp () | |
Construct a new SensESP Base App object. | |
const SensESPBaseApp * | set_hostname (String hostname) |
Friends | |
class | HTTPServer |
class | SensESPAppBuilder |
Additional Inherited Members | |
Static Protected Attributes inherited from sensesp::SensESPBaseApp | |
static SensESPBaseApp * | instance_ = nullptr |
The default SensESP application object with networking and Signal K communication.
Definition at line 34 of file sensesp_app.h.
|
delete |
Singletons should not be cloneable
|
inlineprotected |
SensESPApp constructor.
Note that the constructor is protected, so SensESPApp should only be instantiated using SensESPAppBuilder.
Definition at line 69 of file sensesp_app.h.
|
inlineprotected |
|
static |
Get the singleton instance of the SensESPApp.
Definition at line 12 of file sensesp_app.cpp.
ObservableValue< String > * sensesp::SensESPApp::get_hostname_observable | ( | ) |
Definition at line 85 of file sensesp_app.cpp.
|
inline |
Definition at line 58 of file sensesp_app.h.
|
inline |
Definition at line 54 of file sensesp_app.h.
|
inline |
Definition at line 55 of file sensesp_app.h.
|
inline |
Definition at line 59 of file sensesp_app.h.
|
delete |
Singletons should not be assignable
|
inlineprotected |
|
inlineprotected |
Definition at line 75 of file sensesp_app.h.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protectedvirtual |
Perform initialization of SensESPApp once builder configuration is done.
This should be only called from the builder!
Reimplemented from sensesp::SensESPBaseApp.
Definition at line 26 of file sensesp_app.cpp.
|
friend |
Definition at line 163 of file sensesp_app.h.
|
friend |
Definition at line 164 of file sensesp_app.h.
Definition at line 135 of file sensesp_app.h.
|
protected |
Definition at line 127 of file sensesp_app.h.
|
protected |
Definition at line 128 of file sensesp_app.h.
|
protected |
Definition at line 122 of file sensesp_app.h.
|
protected |
Definition at line 121 of file sensesp_app.h.
Definition at line 139 of file sensesp_app.h.
|
protected |
Definition at line 124 of file sensesp_app.h.
Definition at line 141 of file sensesp_app.h.
|
protected |
Definition at line 123 of file sensesp_app.h.
|
protected |
Definition at line 130 of file sensesp_app.h.
|
protected |
Definition at line 131 of file sensesp_app.h.
Definition at line 118 of file sensesp_app.h.
Definition at line 137 of file sensesp_app.h.
|
protected |
Definition at line 132 of file sensesp_app.h.
|
protected |
Definition at line 116 of file sensesp_app.h.
|
protected |
Definition at line 148 of file sensesp_app.h.
|
protected |
Definition at line 157 of file sensesp_app.h.
|
protected |
Definition at line 117 of file sensesp_app.h.
|
protected |
Definition at line 153 of file sensesp_app.h.
|
protected |
Definition at line 114 of file sensesp_app.h.
|
protected |
Definition at line 126 of file sensesp_app.h.
|
protected |
Definition at line 125 of file sensesp_app.h.
Definition at line 119 of file sensesp_app.h.
|
protected |
Definition at line 115 of file sensesp_app.h.
|
protected |
Definition at line 145 of file sensesp_app.h.
|
protected |
Definition at line 143 of file sensesp_app.h.
|
protected |
Definition at line 133 of file sensesp_app.h.