ESPHome  2024.12.2
Public Member Functions | Protected Member Functions | Protected Attributes
esphome::text::TextCall Class Reference

#include <text_call.h>

Public Member Functions

 TextCall (Text *parent)
 
void perform ()
 
TextCallset_value (const std::string &value)
 

Protected Member Functions

void validate_ ()
 

Protected Attributes

Text *const parent_
 
optional< std::string > value_
 

Detailed Description

Definition at line 11 of file text_call.h.

Constructor & Destructor Documentation

◆ TextCall()

esphome::text::TextCall::TextCall ( Text parent)
inlineexplicit

Definition at line 13 of file text_call.h.

Member Function Documentation

◆ perform()

void esphome::text::TextCall::perform ( )

Definition at line 38 of file text_call.cpp.

◆ set_value()

TextCall & esphome::text::TextCall::set_value ( const std::string &  value)

Definition at line 10 of file text_call.cpp.

◆ validate_()

void esphome::text::TextCall::validate_ ( )
protected

Definition at line 15 of file text_call.cpp.

Field Documentation

◆ parent_

Text* const esphome::text::TextCall::parent_
protected

Definition at line 19 of file text_call.h.

◆ value_

optional<std::string> esphome::text::TextCall::value_
protected

Definition at line 20 of file text_call.h.


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