Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
flecs::_::iter_delegate< Func, Components > Struct Template Reference
Inheritance diagram for flecs::_::iter_delegate< Func, Components >:
[legend]

Public Member Functions

template<if_not_t< is_same< decay_t< Func >, decay_t< Func > & >::value > = 0>
 iter_delegate (Func &&func) noexcept
 
 iter_delegate (const Func &func) noexcept
 
void invoke (ecs_iter_t *iter) const
 

Static Public Member Functions

static void run (ecs_iter_t *iter)
 
static bool instanced ()
 

Detailed Description

template<typename Func, typename ... Components>
struct flecs::_::iter_delegate< Func, Components >

Definition at line 507 of file delegate.hpp.

Constructor & Destructor Documentation

◆ iter_delegate() [1/2]

template<typename Func , typename ... Components>
template<if_not_t< is_same< decay_t< Func >, decay_t< Func > & >::value > = 0>
flecs::_::iter_delegate< Func, Components >::iter_delegate ( Func && func)
inlineexplicitnoexcept

Definition at line 515 of file delegate.hpp.

◆ iter_delegate() [2/2]

template<typename Func , typename ... Components>
flecs::_::iter_delegate< Func, Components >::iter_delegate ( const Func & func)
inlineexplicitnoexcept

Definition at line 518 of file delegate.hpp.

Member Function Documentation

◆ instanced()

template<typename Func , typename ... Components>
static bool flecs::_::iter_delegate< Func, Components >::instanced ( )
inlinestatic

Definition at line 538 of file delegate.hpp.

◆ invoke()

template<typename Func , typename ... Components>
void flecs::_::iter_delegate< Func, Components >::invoke ( ecs_iter_t * iter) const
inline

Definition at line 524 of file delegate.hpp.

◆ run()

template<typename Func , typename ... Components>
static void flecs::_::iter_delegate< Func, Components >::run ( ecs_iter_t * iter)
inlinestatic

Definition at line 531 of file delegate.hpp.


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