ESPHome 2025.6.1
Loading...
Searching...
No Matches
esphome::api::APIConnection::MessageCreator Class Reference

#include <api_connection.h>

Public Member Functions

 MessageCreator (MessageCreatorPtr ptr)
 
 MessageCreator (const std::string &value, uint16_t msg_type)
 
 ~MessageCreator ()
 
 MessageCreator (const MessageCreator &other)
 
 MessageCreator (MessageCreator &&other) noexcept
 
MessageCreatoroperator= (const MessageCreator &other)
 
MessageCreatoroperator= (MessageCreator &&other) noexcept
 
uint16_t operator() (EntityBase *entity, APIConnection *conn, uint32_t remaining_size, bool is_single) const
 

Detailed Description

Definition at line 471 of file api_connection.h.

Constructor & Destructor Documentation

◆ MessageCreator() [1/4]

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

Definition at line 474 of file api_connection.h.

◆ MessageCreator() [2/4]

esphome::api::APIConnection::MessageCreator::MessageCreator ( const std::string & value,
uint16_t msg_type )
inline

Definition at line 477 of file api_connection.h.

◆ ~MessageCreator()

esphome::api::APIConnection::MessageCreator::~MessageCreator ( )
inline

Definition at line 482 of file api_connection.h.

◆ MessageCreator() [3/4]

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

Definition at line 490 of file api_connection.h.

◆ MessageCreator() [4/4]

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

Definition at line 501 of file api_connection.h.

Member Function Documentation

◆ operator()()

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

Definition at line 1884 of file api_connection.cpp.

◆ operator=() [1/2]

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

Definition at line 507 of file api_connection.h.

◆ operator=() [2/2]

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

Definition at line 526 of file api_connection.h.


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