|
ESPHome 2026.8.2
|
Non-template base for AutorepeatFilter — all methods in filter.cpp. More...
#include <filter.h>
Public Member Functions | |
| optional< bool > | new_value (bool value) override |
| AutorepeatFilterBase (const AutorepeatFilterBase &)=delete | |
| AutorepeatFilterBase & | operator= (const AutorepeatFilterBase &)=delete |
Public Member Functions inherited from esphome::binary_sensor::Filter | |
| virtual void | input (bool value) |
| void | output (bool value) |
Protected Member Functions | |
| AutorepeatFilterBase ()=default | |
| void | next_timing_ () |
| void | next_value_ (bool val) |
Protected Attributes | |
| const AutorepeatFilterTiming * | timings_ {nullptr} |
| uint8_t | timings_count_ {0} |
| uint8_t | active_timing_ {0} |
Protected Attributes inherited from esphome::binary_sensor::Filter | |
| friend | BinarySensor |
| Filter * | next_ {nullptr} |
| BinarySensor * | parent_ {nullptr} |
| Deduplicator< bool > | dedup_ |
Non-template base for AutorepeatFilter — all methods in filter.cpp.
Lambdas capture this base pointer, so set_timeout/cancel_timeout are instantiated once. The two scheduled timers are keyed off this and &active_timing_; since the address of active_timing_ is taken as a scheduler key, the class must not be copied or moved.
|
delete |
|
protecteddefault |
|
overridevirtual |
Implements esphome::binary_sensor::Filter.
Definition at line 71 of file filter.cpp.
|
protected |
Definition at line 85 of file filter.cpp.
|
protected |
Definition at line 96 of file filter.cpp.
|
delete |
|
protected |
|
protected |
|
protected |