|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
Shared base for the subsystems exposed by Client (log streaming, the various proxies, voice assistant, ...).
More...
#include <subsystem.hpp>


Public Member Functions | |
| Subsystem (Client &client) | |
Protected Attributes | |
| Client & | client_ |
Shared base for the subsystems exposed by Client (log streaming, the various proxies, voice assistant, ...).
Each subsystem keeps a back-reference to its owning Client to send requests and register message handlers; this base centralizes that wiring so the concrete subsystems only carry their own state.
A subsystem is owned by — and never outlives — its Client, and is bound to that one client for its whole lifetime, hence the reference member.
|
inlineexplicit |
|
protected |