|
ESPHome 2025.12.0-dev
|
#include <custom_api_device.h>
Public Member Functions | |
| CustomAPIDeviceService (const std::string &name, const std::array< std::string, sizeof...(Ts)> &arg_names, T *obj, void(T::*callback)(Ts...)) | |
Public Member Functions inherited from esphome::api::UserServiceDynamic< Ts... > | |
| UserServiceDynamic (std::string name, const std::array< std::string, sizeof...(Ts)> &arg_names) | |
| ListEntitiesServicesResponse | encode_list_service_response () override |
| bool | execute_service (const ExecuteServiceRequest &req) override |
Public Member Functions inherited from esphome::api::UserServiceDescriptor | |
| bool | is_internal () |
Protected Member Functions | |
| void | execute (Ts... x) override |
Protected Member Functions inherited from esphome::api::UserServiceDynamic< Ts... > | |
| void | execute_ (const ArgsContainer &args, seq< S... > type) |
Protected Attributes | |
| T * | obj_ |
| void(T::* | callback_ )(Ts...) |
Protected Attributes inherited from esphome::api::UserServiceDynamic< Ts... > | |
| std::string | name_ |
| std::array< std::string, sizeof...(Ts)> | arg_names_ |
| uint32_t | key_ |
Definition at line 12 of file custom_api_device.h.
|
inline |
Definition at line 14 of file custom_api_device.h.
|
inlineoverrideprotectedvirtual |
Implements esphome::api::UserServiceDynamic< Ts... >.
Definition at line 19 of file custom_api_device.h.
|
protected |
Definition at line 22 of file custom_api_device.h.
|
protected |
Definition at line 21 of file custom_api_device.h.