ESPHome  2022.8.0
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, int state_value)=0
 
virtual void add_no_result_to_queue_with_set (const std::string &variable_name, const std::string &variable_name_to_send, int 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_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
 
bool is_sleeping ()
 
bool is_setup ()
 

Protected Attributes

bool is_setup_ = false
 
bool is_sleeping_ = 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,
int  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,
int  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_setup()

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

Definition at line 50 of file nextion_base.h.

◆ is_sleeping()

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

Definition at line 49 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_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.

◆ show_component()

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

Implemented in esphome::nextion::Nextion.

Field Documentation

◆ is_setup_

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

Definition at line 53 of file nextion_base.h.

◆ is_sleeping_

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

Definition at line 54 of file nextion_base.h.


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