25 virtual void apply() = 0;
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
virtual void stop()
Called when this effect is about to be removed.
virtual void start_internal()
LightEffect(std::string name)
void init_internal(LightState *state)
const std::string & get_name()
Implementation of SPI Controller mode.
virtual void apply()=0
Apply this effect. Use the provided state for starting transitions, ...
virtual void start()
Initialize this LightEffect. Will be called once after creation.
virtual void init()
Internal method called by the LightState when this light effect is registered in it.