Skip to main content

WindowCreateSystem.ixx File

System that translates window-create request components into window-create commands. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine
namespaceplatform
namespacewindow
namespacesystems

Classes Index

classWindowCreateSystem<THandle, TCommandBuffer>

Queues WindowCreateCommand for active entities with pending create requests. More...

Description

System that translates window-create request components into window-create commands.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7export module helios.engine.platform.window.systems.WindowCreateSystem;
8
9
10
11import helios.engine.runtime.world.UpdateContext;
12import helios.engine.runtime.messaging.command.NullCommandBuffer;
13import helios.engine.runtime.messaging.command.concepts.IsCommandBufferLike;
14
15import helios.engine.runtime.world.tags.SystemRole;
16
17import helios.engine.platform.window.components.WindowCreateRequestComponent;
18import helios.engine.platform.window.commands.WindowCreateCommand;
19
20import helios.ecs.components.Active;
21import helios.engine.platform.window.concepts.IsWindowHandle;
22
23using namespace helios::engine::platform::window::concepts;
27using namespace helios::engine::runtime::messaging::command::concepts;
30using namespace helios::ecs::components;
33
39 template<typename THandle, typename TCommandBuffer = NullCommandBuffer>
42
43 public:
44
46
51
58
59 for (auto [entity, win, active]: updateContext.view<
62 >().whereEnabled()) {
63
65 entity.handle(),
66 win->windowConfig
67 );
68 }
69 }
70
71 };
72
73
74
75}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.