1#ifndef _SYSTEM_STATUS_CONTROLLER_H_
2#define _SYSTEM_STATUS_CONTROLLER_H_
45 this->
emit(new_state);
Base class for a controller that can react to system status events.
void update_state(const SystemStatus new_state)
virtual void set_input(WiFiState new_value, uint8_t input_channel=0) override
A base class for piece of code (like a transform) that accepts data for input. ValueConsumers can acc...
A base class for any sensor or piece of code that outputs a value for consumption elsewhere.
void emit(SystemStatus new_value)