Skip to main content

registry.ixx File

Component registration for ecs module. More...

Included Headers

Namespaces Index

namespacehelios
namespaceecs

Description

Component registration for ecs module.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7export module helios.ecs.registry;
8
9import helios.ecs.ComponentReflector;
10import helios.ecs.components;
11
12using namespace helios::ecs::components;
13export namespace helios::ecs {
14
18 template<typename TEntityManager>
19 inline void registerComponents() {
21
22 R::template registerType<HierarchyComponent<typename TEntityManager::Handle_type>>();
23 R::template registerType<Active<typename TEntityManager::Handle_type>>();
24 R::template registerType<Inactive<typename TEntityManager::Handle_type>>();
25 }
26
27}
28

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.