ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
ld2450
select
zone_type_select.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/select/select.h
"
4
#include "
../ld2450.h
"
5
6
namespace
esphome::ld2450
{
7
8
class
ZoneTypeSelect
:
public
select::Select
,
public
Parented
<LD2450Component> {
9
public
:
10
// User provided, not "= default": `new(p) ZoneTypeSelect()` would zero-fill .bss that is already zero.
11
ZoneTypeSelect
() {}
12
13
protected
:
14
void
control
(
size_t
index)
override
;
15
};
16
17
}
// namespace esphome::ld2450
esphome::Parented
Helper class to easily give an object a parent of type T.
Definition
helpers.h:2073
esphome::ld2450::ZoneTypeSelect
Definition
zone_type_select.h:8
esphome::ld2450::ZoneTypeSelect::ZoneTypeSelect
ZoneTypeSelect()
Definition
zone_type_select.h:11
esphome::ld2450::ZoneTypeSelect::control
void control(size_t index) override
Definition
zone_type_select.cpp:5
esphome::select::Select
Base-class for all selects.
Definition
select.h:28
ld2450.h
esphome::ld2450
Definition
factory_reset_button.cpp:3
select.h
Generated by
1.12.0