Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
helios::ecs::MessageMetadata Struct Reference

Metadata for a registered message type. More...

#include <manager.hpp>

Public Attributes

MessageTypeIndex type_index
 Unique type index for the message.
std::string_view name
 Human-readable name of the message.
MessageClearPolicy clear_policy
 Message clearing policy.
bool is_async = false
 Whether this message uses the async queue.

Detailed Description

Metadata for a registered message type.

Definition at line 24 of file manager.hpp.

Member Data Documentation

◆ clear_policy

MessageClearPolicy helios::ecs::MessageMetadata::clear_policy
Initial value:
=
@ kAutomatic
Messages are automatically cleared after double buffer cycle.
Definition message.hpp:18

Message clearing policy.

Definition at line 27 of file manager.hpp.

◆ is_async

bool helios::ecs::MessageMetadata::is_async = false

Whether this message uses the async queue.

Definition at line 29 of file manager.hpp.

◆ name

std::string_view helios::ecs::MessageMetadata::name

Human-readable name of the message.

Definition at line 26 of file manager.hpp.

◆ type_index

MessageTypeIndex helios::ecs::MessageMetadata::type_index

Unique type index for the message.

Definition at line 25 of file manager.hpp.