Skip to content
Flecs v4.1
flecs::_::entity_with_delegate_impl< arg_list< Args... > > Struct Template Reference

Public Types

using ArrayType = flecs::array<void*, sizeof...(Args)>
using IdArray = flecs::array<id_t, sizeof...(Args)>

Static Public Member Functions

static bool get_ptrs (world_t *world, entity_t entity, const ecs_record_t *record, ecs_table_t *table, IdArray &ids, ArrayType &ptrs)
template<typename Func>
static bool invoke_get (world_t *world, entity_t entity, const Func &func)
template<typename Func>
static bool invoke_ensure (world_t *world, entity_t entity, const Func &func)

Detailed Description

template<typename... Args>
struct flecs::_::entity_with_delegate_impl< arg_list< Args... > >

Definition at line 377 of file delegate.hpp.

Member Typedef Documentation

◆ ArrayType

template<typename... Args>
using flecs::_::entity_with_delegate_impl< arg_list< Args... > >::ArrayType = flecs::array<void*, sizeof...(Args)>

Definition at line 378 of file delegate.hpp.

◆ IdArray

template<typename... Args>
using flecs::_::entity_with_delegate_impl< arg_list< Args... > >::IdArray = flecs::array<id_t, sizeof...(Args)>

Definition at line 379 of file delegate.hpp.

Member Function Documentation

◆ get_ptrs()

template<typename... Args>
bool flecs::_::entity_with_delegate_impl< arg_list< Args... > >::get_ptrs ( world_t * world,
entity_t entity,
const ecs_record_t * record,
ecs_table_t * table,
IdArray & ids,
ArrayType & ptrs )
inlinestatic

Definition at line 381 of file delegate.hpp.

◆ invoke_ensure()

template<typename... Args>
template<typename Func>
bool flecs::_::entity_with_delegate_impl< arg_list< Args... > >::invoke_ensure ( world_t * world,
entity_t entity,
const Func & func )
inlinestatic

Definition at line 418 of file delegate.hpp.

◆ invoke_get()

template<typename... Args>
template<typename Func>
bool flecs::_::entity_with_delegate_impl< arg_list< Args... > >::invoke_get ( world_t * world,
entity_t entity,
const Func & func )
inlinestatic

Definition at line 400 of file delegate.hpp.


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