ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
core
controller_registry.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/defines.h
"
4
5
#ifdef USE_CONTROLLER_REGISTRY
6
7
#include "
esphome/core/entity_includes.h
"
8
9
namespace
esphome
{
10
18
class
ControllerRegistry
{
19
public
:
20
// Notify method declarations (generated from entity_types.h)
21
// NOLINTBEGIN(bugprone-macro-parentheses)
22
#define ENTITY_TYPE_(type, singular, plural, count, upper)
// no controller callback
23
#define ENTITY_CONTROLLER_TYPE_(type, singular, plural, count, upper, callback) \
24
static void notify_##callback(type *obj);
25
#include "
esphome/core/entity_types.h
"
26
#undef ENTITY_TYPE_
27
#undef ENTITY_CONTROLLER_TYPE_
28
// NOLINTEND(bugprone-macro-parentheses)
29
};
30
31
}
// namespace esphome
32
33
#endif
// USE_CONTROLLER_REGISTRY
esphome::ControllerRegistry
Fan-out of entity state updates to the controllers (APIServer, WebServer).
Definition
controller_registry.h:18
defines.h
entity_includes.h
entity_types.h
esphome
Definition
a01nyub.cpp:7
Generated by
1.12.0