ESPHome  1.15.2
Public Member Functions | Protected Attributes
esphome::Parented< T > Class Template Reference

#include <helpers.h>

Public Member Functions

 Parented ()
 
 Parented (T *parent)
 
T * get_parent () const
 
void set_parent (T *parent)
 

Protected Attributes

T * parent_ {nullptr}
 

Detailed Description

template<typename T>
class esphome::Parented< T >

Definition at line 304 of file helpers.h.

Constructor & Destructor Documentation

◆ Parented() [1/2]

template<typename T>
esphome::Parented< T >::Parented ( )
inline

Definition at line 306 of file helpers.h.

◆ Parented() [2/2]

template<typename T>
esphome::Parented< T >::Parented ( T *  parent)
inline

Definition at line 307 of file helpers.h.

Member Function Documentation

◆ get_parent()

template<typename T>
T* esphome::Parented< T >::get_parent ( ) const
inline

Definition at line 309 of file helpers.h.

◆ set_parent()

template<typename T>
void esphome::Parented< T >::set_parent ( T *  parent)
inline

Definition at line 310 of file helpers.h.

Field Documentation

◆ parent_

template<typename T>
T* esphome::Parented< T >::parent_ {nullptr}
protected

Definition at line 313 of file helpers.h.


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