ComponentOps.ixx File
Function pointer structure for type-erased component lifecycle callbacks. More...
Included Headers
#include <helios.engine.ecs.EntityHandle>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | ecs |
|
Core Entity-Component-System architecture. More... | |
Classes Index
| struct | ComponentOps |
|
Container for type-erased component lifecycle function pointers. More... | |
Description
Function pointer structure for type-erased component lifecycle callbacks.
File Listing
The file content with the documentation metadata removed is:
11export namespace helios::engine::ecs {
40 struct ComponentOps {
47 using OnAcquireFn = void(*)(void*);
54 using OnReleaseFn = void(*)(void*);
63 using OnRemoveFn = bool(*)(void*);
88 using CloneFn = void*(*)(void* manager, const void* source, const EntityHandle* target);
95 using OnActivateFn = void(*)(void*);
102 using OnDeactivateFn = void(*)(void*);
107 OnAcquireFn onAcquire = nullptr;
112 OnReleaseFn onRelease = nullptr;
117 OnRemoveFn onRemove = nullptr;
137 OnActivateFn onActivate = nullptr;
142 OnDeactivateFn onDeactivate = nullptr;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.