virtual void init()
Internal method called by the LightState when this light effect is registered in it.
virtual void start()
Initialize this LightEffect. Will be called once after creation.
virtual void apply()=0
Apply this effect. Use the provided state for starting transitions, ...
virtual void stop()
Called when this effect is about to be removed.
const std::string & get_name()
LightEffect(std::string name)
virtual void start_internal()
void init_internal(LightState *state)
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
Providing packet encoding functions for exchanging data with a remote host.