ESPHome  2022.6.3
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 9 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 11 of file custom_component.h.

Member Function Documentation

◆ get_component()

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

Definition at line 19 of file custom_component.h.

Field Documentation

◆ components_

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

Definition at line 22 of file custom_component.h.


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