ESPHome  2024.12.2
Public Member Functions | Protected Attributes
esphome::custom_component::CustomComponentConstructor Class Reference

#include <custom_component.h>

Public Member Functions

 CustomComponentConstructor (const std::function< std::vector< Component *>()> &init)
 
Componentget_component (int i) const
 

Protected Attributes

std::vector< Component * > components_
 

Detailed Description

Definition at line 11 of file custom_component.h.

Constructor & Destructor Documentation

◆ CustomComponentConstructor()

esphome::custom_component::CustomComponentConstructor::CustomComponentConstructor ( const std::function< std::vector< Component *>()> &  init)
inline

Definition at line 13 of file custom_component.h.

Member Function Documentation

◆ get_component()

Component* esphome::custom_component::CustomComponentConstructor::get_component ( int  i) const
inline

Definition at line 21 of file custom_component.h.

Field Documentation

◆ components_

std::vector<Component *> esphome::custom_component::CustomComponentConstructor::components_
protected

Definition at line 24 of file custom_component.h.


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