Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::_::entity_with_invoker_impl< arg_list< Args ... > > Struct Template Reference

Public Types

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

Static Public Member Functions

static bool const_args ()
 
static bool get_ptrs (world_t *world, const ecs_record_t *r, ecs_table_t *table, ArrayType &ptrs)
 
static bool get_mut_ptrs (world_t *world, ecs_entity_t e, ArrayType &ptrs)
 
template<typename Func >
static bool invoke_read (world_t *world, entity_t e, const Func &func)
 
template<typename Func >
static bool invoke_write (world_t *world, entity_t e, const Func &func)
 
template<typename Func >
static bool invoke_get (world_t *world, entity_t e, const Func &func)
 
static size_t store_added (IdArray &added, size_t elem, ecs_table_t *prev, ecs_table_t *next, id_t id)
 
template<typename Func >
static bool invoke_get_mut (world_t *world, entity_t id, const Func &func)
 

Detailed Description

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

Definition at line 430 of file invoker.hpp.

Member Typedef Documentation

◆ ArrayType

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

Definition at line 432 of file invoker.hpp.

◆ ColumnArray

template<typename ... Args>
using flecs::_::entity_with_invoker_impl< arg_list< Args ... > >::ColumnArray = flecs::array<int32_t, sizeof...(Args)>

Definition at line 431 of file invoker.hpp.

◆ DummyArray

template<typename ... Args>
using flecs::_::entity_with_invoker_impl< arg_list< Args ... > >::DummyArray = flecs::array<int, sizeof...(Args)>

Definition at line 433 of file invoker.hpp.

◆ IdArray

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

Definition at line 434 of file invoker.hpp.

Member Function Documentation

◆ const_args()

template<typename ... Args>
static bool flecs::_::entity_with_invoker_impl< arg_list< Args ... > >::const_args ( )
inlinestatic

Definition at line 436 of file invoker.hpp.

◆ get_mut_ptrs()

template<typename ... Args>
static bool flecs::_::entity_with_invoker_impl< arg_list< Args ... > >::get_mut_ptrs ( world_t *  world,
ecs_entity_t  e,
ArrayType ptrs 
)
inlinestatic

Definition at line 481 of file invoker.hpp.

◆ get_ptrs()

template<typename ... Args>
static bool flecs::_::entity_with_invoker_impl< arg_list< Args ... > >::get_ptrs ( world_t *  world,
const ecs_record_t *  r,
ecs_table_t table,
ArrayType ptrs 
)
inlinestatic

Definition at line 449 of file invoker.hpp.

◆ invoke_get()

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

Definition at line 539 of file invoker.hpp.

◆ invoke_get_mut()

template<typename ... Args>
template<typename Func >
static bool flecs::_::entity_with_invoker_impl< arg_list< Args ... > >::invoke_get_mut ( world_t *  world,
entity_t  id,
const Func &  func 
)
inlinestatic

Definition at line 561 of file invoker.hpp.

◆ invoke_read()

template<typename ... Args>
template<typename Func >
static bool flecs::_::entity_with_invoker_impl< arg_list< Args ... > >::invoke_read ( world_t *  world,
entity_t  e,
const Func &  func 
)
inlinestatic

Definition at line 493 of file invoker.hpp.

◆ invoke_write()

template<typename ... Args>
template<typename Func >
static bool flecs::_::entity_with_invoker_impl< arg_list< Args ... > >::invoke_write ( world_t *  world,
entity_t  e,
const Func &  func 
)
inlinestatic

Definition at line 516 of file invoker.hpp.

◆ store_added()

template<typename ... Args>
static size_t flecs::_::entity_with_invoker_impl< arg_list< Args ... > >::store_added ( IdArray added,
size_t  elem,
ecs_table_t prev,
ecs_table_t next,
id_t  id 
)
inlinestatic

Definition at line 548 of file invoker.hpp.


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