ESPHome 2025.8.0-dev
Loading...
Searching...
No Matches
esphome::api::APIConnection::MessageCreator Class Reference

#include <api_connection.h>

Public Member Functions

 MessageCreator (MessageCreatorPtr ptr)
 
 MessageCreator (const std::string &str_value)
 
 MessageCreator (const MessageCreator &other)=delete
 
MessageCreatoroperator= (const MessageCreator &other)=delete
 
 MessageCreator (MessageCreator &&other) noexcept
 
MessageCreatoroperator= (MessageCreator &&other) noexcept
 
uint16_t operator() (EntityBase *entity, APIConnection *conn, uint32_t remaining_size, bool is_single, uint8_t message_type) const
 
void cleanup (uint8_t message_type)
 

Detailed Description

Definition at line 523 of file api_connection.h.

Constructor & Destructor Documentation

◆ MessageCreator() [1/4]

esphome::api::APIConnection::MessageCreator::MessageCreator ( MessageCreatorPtr ptr)
inline

Definition at line 526 of file api_connection.h.

◆ MessageCreator() [2/4]

esphome::api::APIConnection::MessageCreator::MessageCreator ( const std::string & str_value)
inlineexplicit

Definition at line 529 of file api_connection.h.

◆ MessageCreator() [3/4]

esphome::api::APIConnection::MessageCreator::MessageCreator ( const MessageCreator & other)
delete

◆ MessageCreator() [4/4]

esphome::api::APIConnection::MessageCreator::MessageCreator ( MessageCreator && other)
inlinenoexcept

Definition at line 538 of file api_connection.h.

Member Function Documentation

◆ cleanup()

void esphome::api::APIConnection::MessageCreator::cleanup ( uint8_t message_type)
inline

Definition at line 556 of file api_connection.h.

◆ operator()()

uint16_t esphome::api::APIConnection::MessageCreator::operator() ( EntityBase * entity,
APIConnection * conn,
uint32_t remaining_size,
bool is_single,
uint8_t message_type ) const

Definition at line 1781 of file api_connection.cpp.

◆ operator=() [1/2]

MessageCreator & esphome::api::APIConnection::MessageCreator::operator= ( const MessageCreator & other)
delete

◆ operator=() [2/2]

MessageCreator & esphome::api::APIConnection::MessageCreator::operator= ( MessageCreator && other)
inlinenoexcept

Definition at line 541 of file api_connection.h.


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