Skip to main content

systems Namespace

Definition

namespace helios::engine::core::systems { ... }

Classes Index

classCallableSystem<THandle, TFunc>

ECS system that executes a stored lambda on each update. More...

classClearDirtySystem<TMemberHandle, TComponentSpecs>

Generic ECS system that resets dirty state for configured component types. More...

Functions Index

template <typename THandle, typename TFunc>
autocallableSystemForLambda (TFunc &&func)

Helper function for creating a CallableSystem with deduced function type. More...

Functions

callableSystemForLambda()

template <typename THandle, typename TFunc>
auto helios::engine::core::systems::callableSystemForLambda (TFunc && func)

Helper function for creating a CallableSystem with deduced function type.

Template Parameters
THandle

Handle to distinguish the system's domain (e.g., entity handle type).

TFunc

Callable type deduced from the function object.

Parameters
func

Callable executed by the created lambda system.

Returns

A CallableSystem specialized for the given handle/tag type and callable.

Definition at line 68 of file CallableSystem.ixx.

69 using FuncType = std::remove_cvref_t<TFunc>;
70
71 return CallableSystem<THandle, FuncType>(std::forward<TFunc>(func));
72
73 };

Reference helios::engine::core::registerComponents.


The documentation for this namespace was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.