|
SensESP 3.2.2
Universal Signal K sensor toolkit ESP32
|
Consumes the networking and websocket states and delta counts and updates the device LED accordingly. More...
#include <sensesp/system/system_status_led.h>
Public Member Functions | |
| BaseSystemStatusLed () | |
| ValueConsumer< SystemStatus > & | get_system_status_consumer () |
| ValueConsumer< int > & | get_delta_tx_count_consumer () |
Public Attributes | |
| LambdaConsumer< SystemStatus > | system_status_consumer_ |
Protected Member Functions | |
| virtual void | show ()=0 |
| virtual void | set_brightness (uint8_t brightness)=0 |
| virtual void | set_wifi_no_ap () |
| virtual void | set_wifi_disconnected () |
| virtual void | set_ws_disconnected () |
| virtual void | set_ws_authorizing () |
| virtual void | set_ws_connecting () |
| virtual void | set_ws_connected () |
Protected Attributes | |
| CRGB | leds_ [1] = {CRGB::Black} |
| std::unique_ptr< LEDBlinker > | blinker_ |
Consumes the networking and websocket states and delta counts and updates the device LED accordingly.
This is an abstract class that can be implemented for different types of LEDs.
Definition at line 39 of file system_status_led.h.
|
inline |
Definition at line 57 of file system_status_led.h.
| ValueConsumer< int > & sensesp::BaseSystemStatusLed::get_delta_tx_count_consumer | ( | ) |
Definition at line 89 of file system_status_led.cpp.
|
inline |
Definition at line 93 of file system_status_led.h.
|
protectedpure virtual |
Implemented in sensesp::RGBSystemStatusLed, and sensesp::SystemStatusLed.
|
protectedvirtual |
Definition at line 72 of file system_status_led.cpp.
|
protectedvirtual |
|
protectedvirtual |
Definition at line 79 of file system_status_led.cpp.
|
protectedvirtual |
Definition at line 85 of file system_status_led.cpp.
|
protectedvirtual |
Definition at line 82 of file system_status_led.cpp.
|
protectedvirtual |
Definition at line 76 of file system_status_led.cpp.
|
protectedpure virtual |
Implemented in sensesp::RGBSystemStatusLed, and sensesp::SystemStatusLed.
|
protected |
Definition at line 43 of file system_status_led.h.
|
protected |
Definition at line 41 of file system_status_led.h.
| LambdaConsumer<SystemStatus> sensesp::BaseSystemStatusLed::system_status_consumer_ |
Definition at line 67 of file system_status_led.h.