Flecs: Alerts
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
Alerts
C++ API » Addons

Alert implementation. More...

Collaboration diagram for Alerts:

## Classes
struct | flecs::alert_builder< Components >
| Alert builder. More...
struct | flecs::alert_builder_i< Base, Components >
| Alert builder interface. More...
struct | flecs::alerts
| Module. More...
struct | flecs::alert< Components >

## Functions
int32_t | flecs::entity_view::alert_count (flecs::entity_t alert=0) const
| Return number of alerts for entity.
template<typename... Comps, typename... Args>
flecs::alert_builder< Comps... > | flecs::world::alert (Args &&... args) const
| Create alert.

## Detailed Description

Alert implementation.

## Function Documentation

## ◆ alert()

template<typename... Comps, typename... Args>

flecs::alert_builder< Comps... > flecs::world::alert | ( | Args &&... | args | ) | const
| inline

Create alert.

Definition at line 44 of file impl.hpp.

## ◆ alert_count()

int32_t alert_count | ( | flecs::entity_t | alert = 0 | ) | const
| inline

Return number of alerts for entity.

Definition at line 12 of file entity_view.hpp.