Flecs: include/flecs/addons/cpp/delegate.hpp File Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
delegate.hpp File Reference

Wrappers around C++ functions that provide callbacks for C APIs. More...

`#include <utility>`
Include dependency graph for delegate.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | flecs::_::component_binding_ctx
struct | flecs::_::field_ptr
struct | flecs::_::field_ptrs< Components >
struct | flecs::_::delegate
struct | flecs::_::each_field< T, typename >
struct | flecs::_::each_column_base
struct | flecs::_::each_field< T, if_t< !is_pointer< T >::value &&!is_empty< actual_type_t< T > >::value &&is_actual< T >::value > >
struct | flecs::_::each_field< T, if_t< !is_pointer< T >::value &&!is_empty< actual_type_t< T > >::value &&!is_actual< T >::value > >
struct | flecs::_::each_field< T, if_t< is_empty< actual_type_t< T > >::value &&!is_pointer< T >::value > >
struct | flecs::_::each_field< T, if_t< is_pointer< T >::value &&!is_empty< actual_type_t< T > >::value > >
struct | flecs::_::each_ref_field< T, typename >
struct | flecs::_::each_delegate< Func, Components >
struct | flecs::_::find_delegate< Func, Components >
struct | flecs::_::run_delegate< Func >
struct | flecs::_::entity_observer_delegate< Func >
struct | flecs::_::entity_payload_observer_delegate< Func, Event >
struct | flecs::_::entity_with_delegate_impl< arg_list< Args ... > >
struct | flecs::_::entity_with_delegate_impl< arg_list< Args ... > >::InvokeCtx
struct | flecs::_::entity_with_delegate< Func, U >
struct | flecs::_::entity_with_delegate< Func, if_t< is_callable< Func >::value > >

## Namespaces
namespace | flecs::_
| Int to enum.

## Typedefs
template<typename Func, typename ... Args>
using | flecs::delegate = _::each_delegate<typename std::decay<Func>::type, Args...>

## Detailed Description

Wrappers around C++ functions that provide callbacks for C APIs.

Definition in file delegate.hpp.

## Typedef Documentation

## ◆ delegate

template<typename Func, typename ... Args>

using flecs::delegate = _::each_delegate<typename std::decay<Func>::type, Args...>

Definition at line 930 of file delegate.hpp.