Skip to main content

IsManagerLike.ixx File

Concept constraining types eligible for manager registration. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine
namespaceruntime
namespaceworld
namespaceconcepts

Description

Concept constraining types eligible for manager registration.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <concepts>
8
9export module helios.engine.runtime.world.concepts.IsManagerLike;
10
11import helios.engine.runtime.concepts.HasTag;
12import helios.engine.runtime.world.tags.ManagerRole;
13
14import helios.engine.runtime.world.UpdateContext;
15
16using namespace helios::engine::runtime::concepts;
17export namespace helios::engine::runtime::world::concepts {
18
35 template<class T>
36 concept IsManagerLike = requires(T& t, helios::engine::runtime::world::UpdateContext& updateContext) {
37 {t.flush(updateContext) } -> std::same_as<void>;
39}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.