ESPHome  2024.10.2
Public Member Functions
esphome::wireguard::WireguardEnabledCondition< Ts > Class Template Reference

Condition to check if Wireguard component is enabled. More...

#include <wireguard.h>

Inheritance diagram for esphome::wireguard::WireguardEnabledCondition< Ts >:
esphome::Condition< Ts... > esphome::Parented< Wireguard >

Public Member Functions

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...
 
- Public Member Functions inherited from esphome::Parented< Wireguard >
 Parented ()
 
 Parented (Wireguard *parent)
 
Wireguard * get_parent () const
 Get the parent of this object. More...
 
void set_parent (Wireguard *parent)
 Set the parent of this object. More...
 

Additional Inherited Members

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

Detailed Description

template<typename... Ts>
class esphome::wireguard::WireguardEnabledCondition< Ts >

Condition to check if Wireguard component is enabled.

Definition at line 155 of file wireguard.h.

Member Function Documentation

◆ check()

template<typename... Ts>
bool esphome::wireguard::WireguardEnabledCondition< Ts >::check ( Ts...  x)
inlineoverridevirtual

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

Definition at line 157 of file wireguard.h.


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