#include <component_iterator.h>
|
enum | IteratorState {
IteratorState::NONE = 0,
IteratorState::BEGIN,
IteratorState::BINARY_SENSOR,
IteratorState::COVER,
IteratorState::FAN,
IteratorState::LIGHT,
IteratorState::SENSOR,
IteratorState::SWITCH,
IteratorState::BUTTON,
IteratorState::TEXT_SENSOR,
IteratorState::SERVICE,
IteratorState::CAMERA,
IteratorState::CLIMATE,
IteratorState::NUMBER,
IteratorState::SELECT,
IteratorState::LOCK,
IteratorState::MEDIA_PLAYER,
IteratorState::ALARM_CONTROL_PANEL,
IteratorState::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 | |
SELECT | |
LOCK | |
MEDIA_PLAYER | |
ALARM_CONTROL_PANEL | |
MAX | |
Definition at line 75 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_end()
bool esphome::ComponentIterator::on_end |
( |
| ) |
|
|
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_sensor()
◆ 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: