|
guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
|
An EntityBuilderManager that creates one builder of each listed type when it is constructed. More...
#include <headers/guillaume/ecs/entity_builder_manager_filler.hpp>


Public Member Functions | |
| EntityBuilderManagerFiller (ComponentRegistry &componentRegistry, EntityRegistry &entityRegistry) | |
| Create the manager and one builder of each listed type, all working on the same pair of registries. | |
| virtual | ~EntityBuilderManagerFiller (void)=default |
| Destroy the manager and the builders it holds. | |
| Public Member Functions inherited from guillaume::ecs::EntityBuilderManager | |
| template<InheritFromEntityBuilder BuilderType> | |
| void | addBuilder (ComponentRegistry &componentRegistry, EntityRegistry &entityRegistry) |
| Create a builder of a given type and keep it. | |
| EntityBuilderManager (void) | |
| Create a manager with no builder. | |
| virtual | ~EntityBuilderManager (void) |
| Destroy the manager and the builders it holds. | |
| template<InheritFromEntityBuilder BuilderType> | |
| BuilderType & | getBuilder (void) |
| Get the builder of a given type. | |
An EntityBuilderManager that creates one builder of each listed type when it is constructed.
Scene uses it to make the builder of every widget of the library available from Scene::getBuilderManager.
| BuilderTypes | The builder types to create. Each must appear once and be constructible from the two registries. |
Definition at line 49 of file entity_builder_manager_filler.hpp.
| guillaume::ecs::EntityBuilderManagerFiller< BuilderTypes >::EntityBuilderManagerFiller | ( | ComponentRegistry & | componentRegistry, |
| EntityRegistry & | entityRegistry ) |
Create the manager and one builder of each listed type, all working on the same pair of registries.
| componentRegistry | The registry in which the builders create components. It must outlive the manager. |
| entityRegistry | The registry in which the builders register entities. It must outlive the manager. |
| std::runtime_error | When a builder type is listed twice. |