ESPHome
2024.10.3
|
#include <addressable_light_effect.h>
Public Member Functions | |
AddressableScanEffect (const std::string &name) | |
void | set_move_interval (uint32_t move_interval) |
void | set_scan_width (uint32_t scan_width) |
void | apply (AddressableLight &it, const Color ¤t_color) override |
Public Member Functions inherited from esphome::light::AddressableLightEffect | |
AddressableLightEffect (const std::string &name) | |
void | start_internal () override |
void | stop () override |
void | apply () override |
Public Member Functions inherited from esphome::light::LightEffect | |
LightEffect (std::string name) | |
virtual void | start () |
Initialize this LightEffect. Will be called once after creation. More... | |
const std::string & | get_name () |
virtual void | init () |
Internal method called by the LightState when this light effect is registered in it. More... | |
void | init_internal (LightState *state) |
Protected Attributes | |
uint32_t | move_interval_ {} |
uint32_t | scan_width_ {1} |
uint32_t | last_move_ {0} |
uint32_t | at_led_ {0} |
bool | direction_ {true} |
Protected Attributes inherited from esphome::light::LightEffect | |
LightState * | state_ {nullptr} |
std::string | name_ |
Additional Inherited Members | |
Protected Member Functions inherited from esphome::light::AddressableLightEffect | |
AddressableLight * | get_addressable_ () const |
Definition at line 159 of file addressable_light_effect.h.
|
inlineexplicit |
Definition at line 161 of file addressable_light_effect.h.
|
inlineoverridevirtual |
Implements esphome::light::AddressableLightEffect.
Definition at line 164 of file addressable_light_effect.h.
|
inline |
Definition at line 162 of file addressable_light_effect.h.
|
inline |
Definition at line 163 of file addressable_light_effect.h.
|
protected |
Definition at line 192 of file addressable_light_effect.h.
|
protected |
Definition at line 193 of file addressable_light_effect.h.
|
protected |
Definition at line 191 of file addressable_light_effect.h.
|
protected |
Definition at line 189 of file addressable_light_effect.h.
|
protected |
Definition at line 190 of file addressable_light_effect.h.