guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
component_registry.hpp
1/*
2 Copyright (c) 2026 ETIB Corporation
3
4 Permission is hereby granted, free of charge, to any person obtaining a copy of
5 this software and associated documentation files (the "Software"), to deal in
6 the Software without restriction, including without limitation the rights to
7 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8 of the Software, and to permit persons to whom the Software is furnished to do
9 so, subject to the following conditions:
10
11 The above copyright notice and this permission notice shall be included in all
12 copies or substantial portions of the Software.
13
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20 SOFTWARE.
21 */
22
23#pragma once
24
25#include "guillaume/ecs/component_registry_filler.hpp"
26
27#include "guillaume/components/accessibility.hpp"
28#include "guillaume/components/animation.hpp"
29#include "guillaume/components/borders.hpp"
30#include "guillaume/components/bound.hpp"
31#include "guillaume/components/clip.hpp"
32#include "guillaume/components/color.hpp"
33#include "guillaume/components/drag_interaction.hpp"
34#include "guillaume/components/elevation.hpp"
35#include "guillaume/components/ellipse.hpp"
36#include "guillaume/components/focus.hpp"
37#include "guillaume/components/hand_button_interaction.hpp"
38#include "guillaume/components/hand_hover_interaction.hpp"
39#include "guillaume/components/hand_squeeze_interaction.hpp"
40#include "guillaume/components/hand_pinch_interaction.hpp"
41#include "guillaume/components/hand_poke_interaction.hpp"
42#include "guillaume/components/hand_thumb_rest_interaction.hpp"
43#include "guillaume/components/hand_thumb_stick_interaction.hpp"
44#include "guillaume/components/hand_trigger_interaction.hpp"
45#include "guillaume/components/image.hpp"
46#include "guillaume/components/layout.hpp"
47#include "guillaume/components/mesh.hpp"
48#include "guillaume/components/mouse_button_interaction.hpp"
49#include "guillaume/components/mouse_hover_interaction.hpp"
50#include "guillaume/components/overlay.hpp"
51#include "guillaume/components/range.hpp"
52#include "guillaume/components/arc.hpp"
53#include "guillaume/components/line.hpp"
54#include "guillaume/components/ring.hpp"
55#include "guillaume/components/scrim.hpp"
56#include "guillaume/components/scrollable.hpp"
57#include "guillaume/components/selection.hpp"
58#include "guillaume/components/style_state.hpp"
59#include "guillaume/components/text.hpp"
60#include "guillaume/components/text_field.hpp"
61#include "guillaume/components/transform.hpp"
62#include "guillaume/components/value.hpp"
63
64namespace guillaume
65{
66
84 components::Bound, components::Focus,
85 components::MouseHoverInteraction,
86 components::MouseButtonInteraction,
87 components::HandHoverInteraction, components::HandButtonInteraction,
88 components::HandPinchInteraction, components::HandPokeInteraction,
89 components::HandSqueezeInteraction,
90 components::HandThumbRestInteraction,
91 components::HandThumbStickInteraction,
92 components::HandTriggerInteraction, components::Text,
93 components::Transform, components::Color, components::Borders,
94 components::Image, components::Mesh, components::Layout,
95 components::Value, components::Range, components::Scrollable,
96 components::DragInteraction, components::Selectable,
97 components::SelectionGroup, components::Animation,
98 components::Overlay, components::TextField, components::Ellipse,
99 components::Ring, components::Arc, components::Line,
100 components::Elevation, components::Scrim, components::Clip,
101 components::StyleState, components::Accessibility>
102 {
103 public:
109
113 virtual ~ComponentRegistry(void) = default;
114 };
115
116} // namespace guillaume
ComponentRegistry(void)
Create the registry with one empty storage per listed component type.
virtual ~ComponentRegistry(void)=default
Destroy the registry and every component it stores.
A ComponentRegistry whose storages for a fixed list of component types exist from construction.
A C++20 UI framework for desktop and XR, built as an entity-component-system.