ESPHome
2026.5.0-dev
Loading...
Searching...
No Matches
esphome
core
controller.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/entity_includes.h
"
4
5
namespace
esphome
{
6
7
class
Controller
{
8
public
:
9
// Controller virtual methods (generated from entity_types.h)
10
// NOLINTBEGIN(bugprone-macro-parentheses)
11
#define ENTITY_TYPE_(type, singular, plural, count, upper)
// no controller callback
12
#define ENTITY_CONTROLLER_TYPE_(type, singular, plural, count, upper, callback) virtual void on_##callback(type *obj){};
13
#include "
esphome/core/entity_types.h
"
14
#undef ENTITY_TYPE_
15
#undef ENTITY_CONTROLLER_TYPE_
16
// NOLINTEND(bugprone-macro-parentheses)
17
};
18
19
}
// namespace esphome
esphome::Controller
Definition
controller.h:7
entity_includes.h
entity_types.h
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
Generated by
1.12.0