#include <component_iterator.h>
|
enum class | IteratorState {
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 96 of file component_iterator.h.
◆ advance()
void esphome::ComponentIterator::advance |
( |
| ) |
|
◆ 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 |
◆ at_
size_t esphome::ComponentIterator::at_ {0} |
|
protected |
◆ include_internal_
bool esphome::ComponentIterator::include_internal_ {false} |
|
protected |
◆ NONE
The documentation for this class was generated from the following files: