ESPHome 2026.5.3
Loading...
Searching...
No Matches
esphome::select::SelectIsCondition< 0, Ts... > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::select::SelectIsCondition< 0, Ts... >:
esphome::Condition< Ts... >

Public Member Functions

 SelectIsCondition (Select *parent, std::function< bool(const StringRef &, const Ts &...)> &&f)
 
bool check (const Ts &...x) override
 
- Public Member Functions inherited from esphome::Condition< Ts... >
bool check_tuple (const std::tuple< Ts... > &tuple)
 Call check with a tuple of values as parameter.
 

Protected Attributes

Selectparent_
 
std::function< bool(const StringRef &, const Ts &...)> f_
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::Condition< Ts... >
bool check_tuple_ (const std::tuple< Ts... > &tuple, std::index_sequence< S... >)
 

Detailed Description

template<typename... Ts>
class esphome::select::SelectIsCondition< 0, Ts... >

Definition at line 88 of file automation.h.

Constructor & Destructor Documentation

◆ SelectIsCondition()

template<typename... Ts>
esphome::select::SelectIsCondition< 0, Ts... >::SelectIsCondition ( Select * parent,
std::function< bool(const StringRef &, const Ts &...)> && f )
inline

Definition at line 90 of file automation.h.

Member Function Documentation

◆ check()

template<typename... Ts>
bool esphome::select::SelectIsCondition< 0, Ts... >::check ( const Ts &... x)
inlineoverridevirtual

Implements esphome::Condition< Ts... >.

Definition at line 93 of file automation.h.

Field Documentation

◆ f_

template<typename... Ts>
std::function<bool(const StringRef &, const Ts &...)> esphome::select::SelectIsCondition< 0, Ts... >::f_
protected

Definition at line 97 of file automation.h.

◆ parent_

template<typename... Ts>
Select* esphome::select::SelectIsCondition< 0, Ts... >::parent_
protected

Definition at line 96 of file automation.h.


The documentation for this class was generated from the following file: