SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
|
#include <sensesp_app.h>
Public Member Functions | |
SensESPApp (SensESPApp &other)=delete | |
void | operator= (const SensESPApp &)=delete |
virtual bool | destroy () override |
Destroy the SensESPBaseApp instance. | |
std::shared_ptr< SKDeltaQueue > | get_sk_delta () |
std::shared_ptr< SystemStatusController > | get_system_status_controller () |
std::shared_ptr< Networking > & | get_networking () |
std::shared_ptr< SKWSClient > | 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. | |
std::shared_ptr< ObservableValue< String > > | get_hostname_observable () |
Get the hostname observable object. | |
Static Public Member Functions | |
static std::shared_ptr< SensESPApp > | get () |
Get the singleton instance of the SensESPApp. | |
Static Public Member Functions inherited from sensesp::SensESPBaseApp | |
static const std::shared_ptr< SensESPBaseApp > & | get () |
Get the singleton instance of the SensESPBaseApp. | |
static String | get_hostname () |
Get the current hostname. | |
static std::shared_ptr< reactesp::EventLoop > | get_event_loop () |
Get the event loop object from the singleton SensESPBaseApp instance. | |
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_ap_ssid (const String &ssid) |
const SensESPApp * | set_ap_password (const String &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 (std::shared_ptr< SystemStatusLed > &system_status_led) |
const SensESPApp * | set_admin_user (const char *username, const char *password) |
const SensESPApp * | enable_ota (const char *password) |
const SensESPApp * | set_button_pin (int pin) |
void | setup () |
Perform initialization of SensESPApp once builder configuration is done. | |
void | connect_status_page_items () |
Protected Member Functions inherited from sensesp::SensESPBaseApp | |
SensESPBaseApp () | |
Construct a new SensESP Base App object. | |
~SensESPBaseApp () | |
void | init_hostname () |
void | set_instance (const std::shared_ptr< SensESPBaseApp > &instance) |
const SensESPBaseApp * | set_hostname (String hostname) |
Friends | |
class | WebServer |
class | SensESPAppBuilder |
Additional Inherited Members | |
Static Protected Attributes inherited from sensesp::SensESPBaseApp | |
static std::shared_ptr< SensESPBaseApp > | instance_ = nullptr |
The default SensESP application object with networking and Signal K communication.
Definition at line 42 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 94 of file sensesp_app.h.
|
inlineprotected |
Definition at line 223 of file sensesp_app.h.
|
inlineoverridevirtual |
Destroy the SensESPBaseApp instance.
Reimplemented from sensesp::SensESPBaseApp.
Definition at line 64 of file sensesp_app.h.
|
inlineprotected |
Definition at line 135 of file sensesp_app.h.
|
inlinestatic |
Get the singleton instance of the SensESPApp.
Definition at line 57 of file sensesp_app.h.
|
inline |
Definition at line 83 of file sensesp_app.h.
|
inline |
Definition at line 79 of file sensesp_app.h.
|
inline |
Definition at line 80 of file sensesp_app.h.
|
inline |
Definition at line 84 of file sensesp_app.h.
|
delete |
Singletons should not be assignable
|
inlineprotected |
Definition at line 131 of file sensesp_app.h.
|
inlineprotected |
Definition at line 114 of file sensesp_app.h.
|
inlineprotected |
Definition at line 110 of file sensesp_app.h.
|
inlineprotected |
Definition at line 139 of file sensesp_app.h.
|
inlineprotected |
|
inlineprotected |
Definition at line 118 of file sensesp_app.h.
|
inlineprotected |
Definition at line 122 of file sensesp_app.h.
|
inlineprotected |
Definition at line 102 of file sensesp_app.h.
|
inlineprotected |
Definition at line 126 of file sensesp_app.h.
|
inlineprotected |
Definition at line 106 of file sensesp_app.h.
|
inlineprotectedvirtual |
Perform initialization of SensESPApp once builder configuration is done.
This should be only called from the builder!
Reimplemented from sensesp::SensESPBaseApp.
Definition at line 151 of file sensesp_app.h.
|
friend |
Definition at line 383 of file sensesp_app.h.
|
friend |
Definition at line 382 of file sensesp_app.h.
|
protected |
Definition at line 303 of file sensesp_app.h.
|
protected |
Definition at line 302 of file sensesp_app.h.
|
protected |
Definition at line 372 of file sensesp_app.h.
|
protected |
Definition at line 312 of file sensesp_app.h.
|
protected |
Definition at line 313 of file sensesp_app.h.
|
protected |
Definition at line 341 of file sensesp_app.h.
|
protected |
Definition at line 339 of file sensesp_app.h.
|
protected |
Definition at line 355 of file sensesp_app.h.
|
protected |
Definition at line 350 of file sensesp_app.h.
|
protected |
Definition at line 344 of file sensesp_app.h.
|
protected |
Definition at line 346 of file sensesp_app.h.
|
protected |
Definition at line 348 of file sensesp_app.h.
|
protected |
Definition at line 363 of file sensesp_app.h.
|
protected |
Definition at line 377 of file sensesp_app.h.
|
protected |
Definition at line 321 of file sensesp_app.h.
|
protected |
Definition at line 325 of file sensesp_app.h.
|
protected |
Definition at line 307 of file sensesp_app.h.
|
protected |
Definition at line 379 of file sensesp_app.h.
|
protected |
Definition at line 326 of file sensesp_app.h.
|
protected |
Definition at line 306 of file sensesp_app.h.
|
protected |
Definition at line 315 of file sensesp_app.h.
|
protected |
Definition at line 317 of file sensesp_app.h.
|
protected |
Definition at line 304 of file sensesp_app.h.
|
protected |
Definition at line 370 of file sensesp_app.h.
|
protected |
Definition at line 318 of file sensesp_app.h.
|
protected |
Definition at line 300 of file sensesp_app.h.
|
protected |
Definition at line 333 of file sensesp_app.h.
|
protected |
Definition at line 337 of file sensesp_app.h.
|
protected |
Definition at line 301 of file sensesp_app.h.
|
protected |
Definition at line 335 of file sensesp_app.h.
|
protected |
Definition at line 298 of file sensesp_app.h.
|
protected |
Definition at line 376 of file sensesp_app.h.
|
protected |
Definition at line 310 of file sensesp_app.h.
|
protected |
Definition at line 309 of file sensesp_app.h.
|
protected |
Definition at line 361 of file sensesp_app.h.
|
protected |
Definition at line 357 of file sensesp_app.h.
|
protected |
Definition at line 365 of file sensesp_app.h.
|
protected |
Definition at line 353 of file sensesp_app.h.
|
protected |
Definition at line 359 of file sensesp_app.h.
|
protected |
Definition at line 367 of file sensesp_app.h.
|
protected |
Definition at line 378 of file sensesp_app.h.
|
protected |
Definition at line 323 of file sensesp_app.h.
|
protected |
Definition at line 299 of file sensesp_app.h.
|
protected |
Definition at line 330 of file sensesp_app.h.
|
protected |
Definition at line 380 of file sensesp_app.h.
|
protected |
Definition at line 328 of file sensesp_app.h.
|
protected |
Definition at line 319 of file sensesp_app.h.