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

Public Member Functions

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

Static Public Member Functions

static void run (ecs_iter_t *iter)
 

Public Attributes

Func func_
 

Detailed Description

template<typename Func>
struct flecs::_::run_delegate< Func >

Definition at line 529 of file delegate.hpp.

Constructor & Destructor Documentation

◆ run_delegate() [1/2]

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

Definition at line 531 of file delegate.hpp.

◆ run_delegate() [2/2]

template<typename Func >
flecs::_::run_delegate< Func >::run_delegate ( const Func & func)
inlineexplicitnoexcept

Definition at line 534 of file delegate.hpp.

Member Function Documentation

◆ invoke()

template<typename Func >
void flecs::_::run_delegate< Func >::invoke ( ecs_iter_t * iter) const
inline

Definition at line 540 of file delegate.hpp.

◆ run()

template<typename Func >
static void flecs::_::run_delegate< Func >::run ( ecs_iter_t * iter)
inlinestatic

Definition at line 547 of file delegate.hpp.

Member Data Documentation

◆ func_

template<typename Func >
Func flecs::_::run_delegate< Func >::func_

Definition at line 553 of file delegate.hpp.


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