#include <component_iterator.h>
|
| enum class | IteratorState : uint8_t {
NONE = 0
, BEGIN
, BINARY_SENSOR
, COVER
,
FAN
, LIGHT
, SENSOR
, SWITCH
,
BUTTON
, TEXT_SENSOR
, SERVICE
, CAMERA
,
CLIMATE
, NUMBER
, DATETIME_DATE
, DATETIME_TIME
,
DATETIME_DATETIME
, TEXT
, SELECT
, LOCK
,
VALVE
, MEDIA_PLAYER
, ALARM_CONTROL_PANEL
, EVENT
,
UPDATE
, MAX
} |
| |
Definition at line 19 of file component_iterator.h.
◆ IteratorState
| Enumerator |
|---|
| NONE | |
| BEGIN | |
| BINARY_SENSOR | |
| COVER | |
| FAN | |
| LIGHT | |
| SENSOR | |
| SWITCH | |
| BUTTON | |
| TEXT_SENSOR | |
| SERVICE | |
| CAMERA | |
| CLIMATE | |
| NUMBER | |
| DATETIME_DATE | |
| DATETIME_TIME | |
| DATETIME_DATETIME | |
| TEXT | |
| SELECT | |
| LOCK | |
| VALVE | |
| MEDIA_PLAYER | |
| ALARM_CONTROL_PANEL | |
| EVENT | |
| UPDATE | |
| MAX | |
Definition at line 98 of file component_iterator.h.
◆ advance()
| void esphome::ComponentIterator::advance |
( |
| ) |
|
◆ advance_platform_()
| void esphome::ComponentIterator::advance_platform_ |
( |
| ) |
|
|
protected |
◆ begin()
| void esphome::ComponentIterator::begin |
( |
bool | include_internal = false | ) |
|
◆ on_alarm_control_panel()
◆ on_begin()
| bool esphome::ComponentIterator::on_begin |
( |
| ) |
|
|
virtual |
◆ on_binary_sensor()
◆ on_button()
| virtual bool esphome::ComponentIterator::on_button |
( |
button::Button * | button | ) |
|
|
pure virtual |
◆ on_camera()
◆ on_climate()
| virtual bool esphome::ComponentIterator::on_climate |
( |
climate::Climate * | climate | ) |
|
|
pure virtual |
◆ on_cover()
| virtual bool esphome::ComponentIterator::on_cover |
( |
cover::Cover * | cover | ) |
|
|
pure virtual |
◆ on_date()
◆ on_datetime()
◆ on_end()
| bool esphome::ComponentIterator::on_end |
( |
| ) |
|
|
virtual |
◆ on_event()
| virtual bool esphome::ComponentIterator::on_event |
( |
event::Event * | event | ) |
|
|
pure virtual |
◆ on_fan()
| virtual bool esphome::ComponentIterator::on_fan |
( |
fan::Fan * | fan | ) |
|
|
pure virtual |
◆ on_light()
◆ on_lock()
| virtual bool esphome::ComponentIterator::on_lock |
( |
lock::Lock * | a_lock | ) |
|
|
pure virtual |
◆ on_media_player()
◆ on_number()
| virtual bool esphome::ComponentIterator::on_number |
( |
number::Number * | number | ) |
|
|
pure virtual |
◆ on_select()
| virtual bool esphome::ComponentIterator::on_select |
( |
select::Select * | select | ) |
|
|
pure virtual |
◆ on_sensor()
| virtual bool esphome::ComponentIterator::on_sensor |
( |
sensor::Sensor * | sensor | ) |
|
|
pure virtual |
◆ on_service()
◆ on_switch()
| virtual bool esphome::ComponentIterator::on_switch |
( |
switch_::Switch * | a_switch | ) |
|
|
pure virtual |
◆ on_text()
| virtual bool esphome::ComponentIterator::on_text |
( |
text::Text * | text | ) |
|
|
pure virtual |
◆ on_text_sensor()
◆ on_time()
◆ on_update()
◆ on_valve()
| virtual bool esphome::ComponentIterator::on_valve |
( |
valve::Valve * | valve | ) |
|
|
pure virtual |
◆ process_platform_item_()
template<typename Container >
| void esphome::ComponentIterator::process_platform_item_ |
( |
const Container & | items, |
|
|
bool(ComponentIterator::* | on_item )(typename Container::value_type) ) |
|
inlineprotected |
◆ at_
| uint16_t esphome::ComponentIterator::at_ {0} |
|
protected |
◆ include_internal_
| bool esphome::ComponentIterator::include_internal_ {false} |
|
protected |
◆ state_
The documentation for this class was generated from the following files: