|
Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
|
Classes | |
| class | ComponentRegistry |
| Registry for component metadata. More... | |
Macros | |
| #define | COMPONENT_REGISTRY_API |
| #define | REGISTER_COMPONENT(ClassName) |
| Automatically register a component at static initialization. | |
| #define COMPONENT_REGISTRY_API |
| #define REGISTER_COMPONENT | ( | ClassName | ) |
Automatically register a component at static initialization.
Uses GetComponentMeta() which returns a reference to a function-local static, ensuring the metadata is initialized before first use (avoids SIOF).
On embedded platforms, this macro is a no-op since:
Usage in .cpp file: REGISTER_COMPONENT(MyComponent)