|
LSH-Core
A robust C++ framework for Arduino-based home automation nodes
|
Forward declaration. More...
Functions | |
| void | addIndicator (Indicator *const indicator) |
| Adds an indicator to the system. | |
| void | indicatorsCheck () |
| Performs a indicator check for indicator set. | |
| void | finalizeSetup () |
| Resize vectors of all indicators to the actual needed size. | |
Variables | |
| uint8_t | totalIndicators = 0U |
| Device real total indicators. | |
| etl::array< Indicator *, CONFIG_MAX_INDICATORS > | indicators {} |
| Device indicators. | |
Forward declaration.
Globally stores all indicators and to operates over them.
| void Indicators::addIndicator | ( | Indicator *const | indicator | ) |
Adds an indicator to the system.
The indicator is stored in the main array. If the maximum number of indicators is exceeded, the device will reset to prevent undefined behavior.
| indicator | A pointer to the Indicator object to add. |

| uint8_t Indicators::totalIndicators = 0U |
Device real total indicators.
Device real total Indicators.