The base class for SensESP applications.
More...
#include <sensesp_base_app.h>
The base class for SensESP applications.
SensESPBaseApp is the base class for all apps. It can be either expanded in child classes to provide additional functionality, or used as is to provide a bare-bones application.
- See also
- SensESPApp
Definition at line 42 of file sensesp_base_app.h.
◆ SensESPBaseApp()
sensesp::SensESPBaseApp::SensESPBaseApp |
( |
| ) |
|
|
inlineprotected |
Construct a new SensESP Base App object.
This constructor must only be used in SensESPBaseAppBuilder, and must be called only once. For compatibility reasons, the class hasn't been refactored into a singleton.
Definition at line 125 of file sensesp_base_app.h.
◆ ~SensESPBaseApp()
sensesp::SensESPBaseApp::~SensESPBaseApp |
( |
| ) |
|
|
inlineprotected |
◆ destroy()
virtual bool sensesp::SensESPBaseApp::destroy |
( |
| ) |
|
|
inlinevirtual |
◆ get()
static const std::shared_ptr< SensESPBaseApp > & sensesp::SensESPBaseApp::get |
( |
| ) |
|
|
inlinestatic |
◆ get_event_loop()
static std::shared_ptr< reactesp::EventLoop > sensesp::SensESPBaseApp::get_event_loop |
( |
| ) |
|
|
inlinestatic |
◆ get_hostname()
static String sensesp::SensESPBaseApp::get_hostname |
( |
| ) |
|
|
inlinestatic |
◆ get_hostname_observable()
std::shared_ptr< ObservableValue< String > > sensesp::SensESPBaseApp::get_hostname_observable |
( |
| ) |
|
|
inline |
◆ init_hostname()
void sensesp::SensESPBaseApp::init_hostname |
( |
| ) |
|
|
inlineprotected |
◆ reset()
virtual void sensesp::SensESPBaseApp::reset |
( |
| ) |
|
|
inlinevirtual |
◆ set_hostname()
const SensESPBaseApp * sensesp::SensESPBaseApp::set_hostname |
( |
String | hostname | ) |
|
|
inlineprotected |
◆ set_instance()
void sensesp::SensESPBaseApp::set_instance |
( |
const std::shared_ptr< SensESPBaseApp > & | instance | ) |
|
|
inlineprotected |
◆ setup()
virtual void sensesp::SensESPBaseApp::setup |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ start()
virtual void sensesp::SensESPBaseApp::start |
( |
| ) |
|
|
inlinevirtual |
◆ event_loop_
std::shared_ptr<reactesp::EventLoop> sensesp::SensESPBaseApp::event_loop_ |
|
protected |
◆ filesystem_
std::shared_ptr<Filesystem> sensesp::SensESPBaseApp::filesystem_ |
|
protected |
◆ hostname_
◆ instance_
std::shared_ptr< SensESPBaseApp > sensesp::SensESPBaseApp::instance_ = nullptr |
|
staticprotected |
The documentation for this class was generated from the following files: