ESPHome
2024.11.1
|
#include <transformers.h>
Public Member Functions | |
LightFlashTransformer (LightState &state) | |
void | start () override |
optional< LightColorValues > | apply () override |
void | stop () override |
bool | is_finished () override |
Public Member Functions inherited from esphome::light::LightTransformer | |
virtual | ~LightTransformer ()=default |
void | setup (const LightColorValues &start_values, const LightColorValues &target_values, uint32_t length) |
const LightColorValues & | get_start_values () const |
const LightColorValues & | get_target_values () const |
Protected Attributes | |
LightState & | state_ |
uint32_t | transition_length_ |
std::unique_ptr< LightTransformer > | transformer_ {nullptr} |
bool | begun_lightstate_restore_ |
Protected Attributes inherited from esphome::light::LightTransformer | |
uint32_t | start_time_ |
uint32_t | length_ |
LightColorValues | start_values_ |
LightColorValues | target_values_ |
Additional Inherited Members | |
Protected Member Functions inherited from esphome::light::LightTransformer | |
float | get_progress_ () |
The progress of this transition, on a scale of 0 to 1. More... | |
Definition at line 67 of file transformers.h.
|
inline |
Definition at line 69 of file transformers.h.
|
inlineoverridevirtual |
Implements esphome::light::LightTransformer.
Definition at line 83 of file transformers.h.
|
inlineoverridevirtual |
Reimplemented from esphome::light::LightTransformer.
Definition at line 116 of file transformers.h.
|
inlineoverridevirtual |
Reimplemented from esphome::light::LightTransformer.
Definition at line 71 of file transformers.h.
|
inlineoverridevirtual |
Reimplemented from esphome::light::LightTransformer.
Definition at line 106 of file transformers.h.
|
protected |
Definition at line 122 of file transformers.h.
|
protected |
Definition at line 119 of file transformers.h.
|
protected |
Definition at line 121 of file transformers.h.
|
protected |
Definition at line 120 of file transformers.h.