ESPHome  2024.4.1
Public Member Functions | Protected Attributes
esphome::lock::LockCondition< Ts > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::lock::LockCondition< Ts >:
esphome::Condition< Ts... >

Public Member Functions

 LockCondition (Lock *parent, bool state)
 
bool check (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. More...
 

Protected Attributes

Lockparent_
 
bool state_
 

Additional Inherited Members

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

Detailed Description

template<typename... Ts>
class esphome::lock::LockCondition< Ts >

Definition at line 40 of file automation.h.

Constructor & Destructor Documentation

◆ LockCondition()

template<typename... Ts>
esphome::lock::LockCondition< Ts >::LockCondition ( Lock parent,
bool  state 
)
inline

Definition at line 42 of file automation.h.

Member Function Documentation

◆ check()

template<typename... Ts>
bool esphome::lock::LockCondition< Ts >::check ( Ts...  x)
inlineoverridevirtual

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

Definition at line 43 of file automation.h.

Field Documentation

◆ parent_

template<typename... Ts>
Lock* esphome::lock::LockCondition< Ts >::parent_
protected

Definition at line 49 of file automation.h.

◆ state_

template<typename... Ts>
bool esphome::lock::LockCondition< Ts >::state_
protected

Definition at line 50 of file automation.h.


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