ESPHome  2024.12.2
Public Member Functions | Protected Attributes
esphome::nextion::NextionBase Class Referenceabstract

#include <nextion_base.h>

Inheritance diagram for esphome::nextion::NextionBase:
esphome::nextion::Nextion

Public Member Functions

virtual void add_no_result_to_queue_with_set (NextionComponentBase *component, int32_t state_value)=0
 
virtual void add_no_result_to_queue_with_set (const std::string &variable_name, const std::string &variable_name_to_send, int32_t state_value)=0
 
virtual void add_no_result_to_queue_with_set (NextionComponentBase *component, const std::string &state_value)=0
 
virtual void add_no_result_to_queue_with_set (const std::string &variable_name, const std::string &variable_name_to_send, const std::string &state_value)=0
 
virtual void add_addt_command_to_queue (NextionComponentBase *component)=0
 
virtual void add_to_get_queue (NextionComponentBase *component)=0
 
virtual void set_component_background_color (const char *component, Color color)=0
 
virtual void set_component_pressed_background_color (const char *component, Color color)=0
 
virtual void set_component_foreground_color (const char *component, Color color)=0
 
virtual void set_component_pressed_foreground_color (const char *component, Color color)=0
 
virtual void set_component_font_color (const char *component, Color color)=0
 
virtual void set_component_pressed_font_color (const char *component, Color color)=0
 
virtual void set_component_font (const char *component, uint8_t font_id)=0
 
virtual void show_component (const char *component)=0
 
virtual void hide_component (const char *component)=0
 
virtual bool is_updating ()
 
bool is_sleeping ()
 
bool is_setup ()
 
bool is_detected ()
 

Protected Attributes

bool is_setup_ = false
 
bool is_sleeping_ = false
 
bool is_detected_ = false
 

Detailed Description

Definition at line 25 of file nextion_base.h.

Member Function Documentation

◆ add_addt_command_to_queue()

virtual void esphome::nextion::NextionBase::add_addt_command_to_queue ( NextionComponentBase component)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ add_no_result_to_queue_with_set() [1/4]

virtual void esphome::nextion::NextionBase::add_no_result_to_queue_with_set ( NextionComponentBase component,
int32_t  state_value 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ add_no_result_to_queue_with_set() [2/4]

virtual void esphome::nextion::NextionBase::add_no_result_to_queue_with_set ( const std::string &  variable_name,
const std::string &  variable_name_to_send,
int32_t  state_value 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ add_no_result_to_queue_with_set() [3/4]

virtual void esphome::nextion::NextionBase::add_no_result_to_queue_with_set ( NextionComponentBase component,
const std::string &  state_value 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ add_no_result_to_queue_with_set() [4/4]

virtual void esphome::nextion::NextionBase::add_no_result_to_queue_with_set ( const std::string &  variable_name,
const std::string &  variable_name_to_send,
const std::string &  state_value 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ add_to_get_queue()

virtual void esphome::nextion::NextionBase::add_to_get_queue ( NextionComponentBase component)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ hide_component()

virtual void esphome::nextion::NextionBase::hide_component ( const char *  component)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ is_detected()

bool esphome::nextion::NextionBase::is_detected ( )
inline

Definition at line 55 of file nextion_base.h.

◆ is_setup()

bool esphome::nextion::NextionBase::is_setup ( )
inline

Definition at line 54 of file nextion_base.h.

◆ is_sleeping()

bool esphome::nextion::NextionBase::is_sleeping ( )
inline

Definition at line 53 of file nextion_base.h.

◆ is_updating()

virtual bool esphome::nextion::NextionBase::is_updating ( )
inlinevirtual

Reimplemented in esphome::nextion::Nextion.

Definition at line 51 of file nextion_base.h.

◆ set_component_background_color()

virtual void esphome::nextion::NextionBase::set_component_background_color ( const char *  component,
Color  color 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ set_component_font()

virtual void esphome::nextion::NextionBase::set_component_font ( const char *  component,
uint8_t  font_id 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ set_component_font_color()

virtual void esphome::nextion::NextionBase::set_component_font_color ( const char *  component,
Color  color 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ set_component_foreground_color()

virtual void esphome::nextion::NextionBase::set_component_foreground_color ( const char *  component,
Color  color 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ set_component_pressed_background_color()

virtual void esphome::nextion::NextionBase::set_component_pressed_background_color ( const char *  component,
Color  color 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ set_component_pressed_font_color()

virtual void esphome::nextion::NextionBase::set_component_pressed_font_color ( const char *  component,
Color  color 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ set_component_pressed_foreground_color()

virtual void esphome::nextion::NextionBase::set_component_pressed_foreground_color ( const char *  component,
Color  color 
)
pure virtual

Implemented in esphome::nextion::Nextion.

◆ show_component()

virtual void esphome::nextion::NextionBase::show_component ( const char *  component)
pure virtual

Implemented in esphome::nextion::Nextion.

Field Documentation

◆ is_detected_

bool esphome::nextion::NextionBase::is_detected_ = false
protected

Definition at line 60 of file nextion_base.h.

◆ is_setup_

bool esphome::nextion::NextionBase::is_setup_ = false
protected

Definition at line 58 of file nextion_base.h.

◆ is_sleeping_

bool esphome::nextion::NextionBase::is_sleeping_ = false
protected

Definition at line 59 of file nextion_base.h.


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