Flecs: flecs::_::run_delegate< Func > 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::_::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 544 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 546 of file delegate.hpp.

## ◆ run_delegate() [2/2]

template<typename Func>

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

Definition at line 549 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 555 of file delegate.hpp.

## ◆ run()

template<typename Func>

void flecs::_::run_delegate< Func >::run | ( | ecs_iter_t * | iter | ) |
| inlinestatic

Definition at line 562 of file delegate.hpp.

## Member Data Documentation

## ◆ func_

template<typename Func>

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

Definition at line 568 of file delegate.hpp.

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

- include/flecs/addons/cpp/delegate.hpp