ESPHome  2024.9.0
Public Member Functions | Protected Attributes
esphome::lvgl::LvglCondition< Ts > Class Template Reference

#include <lvgl_esphome.h>

Inheritance diagram for esphome::lvgl::LvglCondition< Ts >:
esphome::Condition< Ts... > esphome::Parented< LvglComponent >

Public Member Functions

 LvglCondition (std::function< bool(LvglComponent *)> &&condition_lambda)
 
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< LvglComponent >
 Parented ()
 
 Parented (LvglComponent *parent)
 
LvglComponent * get_parent () const
 Get the parent of this object. More...
 
void set_parent (LvglComponent *parent)
 Set the parent of this object. More...
 

Protected Attributes

std::function< bool(LvglComponent *)> condition_lambda_ {}
 
- Protected Attributes inherited from esphome::Parented< LvglComponent >
LvglComponent * parent_
 

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::lvgl::LvglCondition< Ts >

Definition at line 192 of file lvgl_esphome.h.

Constructor & Destructor Documentation

◆ LvglCondition()

template<typename... Ts>
esphome::lvgl::LvglCondition< Ts >::LvglCondition ( std::function< bool(LvglComponent *)> &&  condition_lambda)
inline

Definition at line 194 of file lvgl_esphome.h.

Member Function Documentation

◆ check()

template<typename... Ts>
bool esphome::lvgl::LvglCondition< Ts >::check ( Ts...  x)
inlineoverridevirtual

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

Definition at line 196 of file lvgl_esphome.h.

Field Documentation

◆ condition_lambda_

template<typename... Ts>
std::function<bool(LvglComponent *)> esphome::lvgl::LvglCondition< Ts >::condition_lambda_ {}
protected

Definition at line 199 of file lvgl_esphome.h.


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