Flecs: flecs::event_builder_typed< E > Struct Template Reference
Description: A fast entity component system (ECS) for C & C++

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

Loading...
Searching...
No Matches
flecs::event_builder_typed< E > Struct Template Reference
Inheritance diagram for flecs::event_builder_typed< E >:
[legend]

## Public Member Functions
Class & | ctx (const E &ptr)
Class & | ctx (E &&ptr)
Public Member Functions inherited from flecs::event_builder_base< event_builder_typed< E >, E >
| event_builder_base (flecs::world_t *world, flecs::entity_t event)
event_builder_typed< E > & | id ()
| Add component to emit for.
event_builder_typed< E > & | entity (flecs::entity_t e)
| Set entity for which to emit event.
event_builder_typed< E > & | table (flecs::table_t *t, int32_t offset=0, int32_t count=0)
event_builder_typed< E > & | ctx (const E *ptr)
void | emit ()
void | enqueue ()

## Additional Inherited Members
Protected Attributes inherited from flecs::event_builder_base< event_builder_typed< E >, E >
flecs::world_t * | world_
ecs_event_desc_t | desc_
flecs::type_t | ids_
flecs::id_t | ids_array_ [(8)]

## Detailed Description

template<typename E>
struct flecs::event_builder_typed< E >

Definition at line 141 of file builder.hpp.

## Member Function Documentation

## ◆ ctx() [1/2]

template<typename E>

Class & flecs::event_builder_typed< E >::ctx | ( | const E & | ptr | ) |
| inline

Definition at line 149 of file builder.hpp.

## ◆ ctx() [2/2]

template<typename E>

Class & flecs::event_builder_typed< E >::ctx | ( | E && | ptr | ) |
| inline

Definition at line 155 of file builder.hpp.

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

- include/flecs/addons/cpp/mixins/event/builder.hpp