ESPHome
2024.9.2
|
#include <e131_addressable_light_effect.h>
Public Member Functions | |
E131AddressableLightEffect (const std::string &name) | |
void | start () override |
void | stop () override |
void | apply (light::AddressableLight &it, const Color ¤t_color) override |
int | get_data_per_universe () const |
int | get_lights_per_universe () const |
int | get_first_universe () const |
int | get_last_universe () const |
int | get_universe_count () const |
void | set_first_universe (int universe) |
void | set_channels (E131LightChannels channels) |
void | set_e131 (E131Component *e131) |
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) | |
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 Member Functions | |
bool | process_ (int universe, const E131Packet &packet) |
Protected Member Functions inherited from esphome::light::AddressableLightEffect | |
AddressableLight * | get_addressable_ () const |
Protected Attributes | |
int | first_universe_ {0} |
int | last_universe_ {0} |
E131LightChannels | channels_ {E131_RGB} |
E131Component * | e131_ {nullptr} |
Protected Attributes inherited from esphome::light::LightEffect | |
LightState * | state_ {nullptr} |
std::string | name_ |
Definition at line 14 of file e131_addressable_light_effect.h.
esphome::e131::E131AddressableLightEffect::E131AddressableLightEffect | ( | const std::string & | name | ) |
Definition at line 12 of file e131_addressable_light_effect.cpp.
|
overridevirtual |
Implements esphome::light::AddressableLightEffect.
Definition at line 44 of file e131_addressable_light_effect.cpp.
int esphome::e131::E131AddressableLightEffect::get_data_per_universe | ( | ) | const |
Definition at line 14 of file e131_addressable_light_effect.cpp.
int esphome::e131::E131AddressableLightEffect::get_first_universe | ( | ) | const |
Definition at line 18 of file e131_addressable_light_effect.cpp.
int esphome::e131::E131AddressableLightEffect::get_last_universe | ( | ) | const |
Definition at line 20 of file e131_addressable_light_effect.cpp.
int esphome::e131::E131AddressableLightEffect::get_lights_per_universe | ( | ) | const |
Definition at line 16 of file e131_addressable_light_effect.cpp.
int esphome::e131::E131AddressableLightEffect::get_universe_count | ( | ) | const |
Definition at line 22 of file e131_addressable_light_effect.cpp.
|
protected |
Definition at line 48 of file e131_addressable_light_effect.cpp.
|
inline |
Definition at line 29 of file e131_addressable_light_effect.h.
|
inline |
Definition at line 30 of file e131_addressable_light_effect.h.
|
inline |
Definition at line 28 of file e131_addressable_light_effect.h.
|
overridevirtual |
Reimplemented from esphome::light::LightEffect.
Definition at line 28 of file e131_addressable_light_effect.cpp.
|
overridevirtual |
Reimplemented from esphome::light::LightEffect.
Definition at line 36 of file e131_addressable_light_effect.cpp.
|
protected |
Definition at line 37 of file e131_addressable_light_effect.h.
|
protected |
Definition at line 38 of file e131_addressable_light_effect.h.
|
protected |
Definition at line 35 of file e131_addressable_light_effect.h.
|
protected |
Definition at line 36 of file e131_addressable_light_effect.h.