Skip to content
Flecs
v4.1
Search
Ctrl K
include
flecs
addons
cpp
mixins
alerts
decl.hpp
Go to the documentation of this file.
1
/**
2
* @file addons/cpp/mixins/alerts/decl.hpp
3
* @brief Alert declarations.
4
*/
5
6
#pragma once
7
8
namespace
flecs {
9
10
/**
11
* @defgroup cpp_addons_alerts Alerts
12
* @ingroup cpp_addons
13
* Alert implementation.
14
*
15
* @{
16
*/
17
18
/** Module. */
19
struct
alerts {
20
using
AlertsActive =
EcsAlertsActive
;
21
using
Instance =
EcsAlertInstance
;
22
23
struct
Alert
{ };
24
struct
Info
{ };
25
struct
Warning
{ };
26
struct
Error
{ };
27
28
alerts(
flecs::world
&
world
);
29
};
30
31
template
<
typename
... Components>
32
struct
alert
;
33
34
template
<
typename
... Components>
35
struct
alert_builder
;
36
37
/** @} */
38
39
}
EcsAlertInstance
Component added to alert instance.
Definition
alerts.h:51
EcsAlertsActive
Map with active alerts for entity.
Definition
alerts.h:56
flecs::alert_builder
Alert builder.
Definition
builder.hpp:24
flecs::alert
Definition
impl.hpp:14
flecs::alerts::Alert
Definition
decl.hpp:23
flecs::alerts::Error
Definition
decl.hpp:26
flecs::alerts::Info
Definition
decl.hpp:24
flecs::alerts::Warning
Definition
decl.hpp:25
flecs::world
The world.
Definition
world.hpp:129
Esc
↑
↓
to navigate
↵
to open
Esc
to close