ESPHome
2024.10.2
|
#include <component_iterator.h>
Public Member Functions | |
void | begin (bool include_internal=false) |
void | advance () |
virtual bool | on_begin () |
virtual bool | on_binary_sensor (binary_sensor::BinarySensor *binary_sensor)=0 |
virtual bool | on_cover (cover::Cover *cover)=0 |
virtual bool | on_fan (fan::Fan *fan)=0 |
virtual bool | on_light (light::LightState *light)=0 |
virtual bool | on_sensor (sensor::Sensor *sensor)=0 |
virtual bool | on_switch (switch_::Switch *a_switch)=0 |
virtual bool | on_button (button::Button *button)=0 |
virtual bool | on_text_sensor (text_sensor::TextSensor *text_sensor)=0 |
virtual bool | on_service (api::UserServiceDescriptor *service) |
virtual bool | on_camera (esp32_camera::ESP32Camera *camera) |
virtual bool | on_climate (climate::Climate *climate)=0 |
virtual bool | on_number (number::Number *number)=0 |
virtual bool | on_date (datetime::DateEntity *date)=0 |
virtual bool | on_time (datetime::TimeEntity *time)=0 |
virtual bool | on_datetime (datetime::DateTimeEntity *datetime)=0 |
virtual bool | on_text (text::Text *text)=0 |
virtual bool | on_select (select::Select *select)=0 |
virtual bool | on_lock (lock::Lock *a_lock)=0 |
virtual bool | on_valve (valve::Valve *valve)=0 |
virtual bool | on_media_player (media_player::MediaPlayer *media_player) |
virtual bool | on_alarm_control_panel (alarm_control_panel::AlarmControlPanel *a_alarm_control_panel)=0 |
virtual bool | on_event (event::Event *event)=0 |
virtual bool | on_update (update::UpdateEntity *update)=0 |
virtual bool | on_end () |
Protected Attributes | |
enum esphome::ComponentIterator::IteratorState | NONE |
size_t | at_ {0} |
bool | include_internal_ {false} |
Definition at line 19 of file component_iterator.h.
|
strongprotected |
Definition at line 96 of file component_iterator.h.
void esphome::ComponentIterator::advance | ( | ) |
Definition at line 17 of file component_iterator.cpp.
void esphome::ComponentIterator::begin | ( | bool | include_internal = false | ) |
Definition at line 12 of file component_iterator.cpp.
|
pure virtual |
|
virtual |
Definition at line 385 of file component_iterator.cpp.
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in esphome::api::ListEntitiesIterator.
Definition at line 390 of file component_iterator.cpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in esphome::api::ListEntitiesIterator.
Definition at line 384 of file component_iterator.cpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in esphome::api::ListEntitiesIterator, and esphome::api::InitialStateIterator.
Definition at line 393 of file component_iterator.cpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in esphome::api::ListEntitiesIterator.
Definition at line 387 of file component_iterator.cpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
protected |
Definition at line 170 of file component_iterator.h.
|
protected |
Definition at line 171 of file component_iterator.h.
|
protected |