ESPHome
2024.12.2
|
Helper class to easily give an object a parent of type T
.
More...
#include <helpers.h>
Public Member Functions | |
Parented () | |
Parented (T *parent) | |
T * | get_parent () const |
Get the parent of this object. More... | |
void | set_parent (T *parent) |
Set the parent of this object. More... | |
Protected Attributes | |
T * | parent_ {nullptr} |
Helper class to easily give an object a parent of type T
.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |