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

Static Public Member Functions

template<typename Evt , if_t< is_empty< Evt >::value > = 0>
static void create (flecs::world_t *world, flecs::entity_t entity, Func &&f)
 
template<typename Evt , if_not_t< is_empty< Evt >::value > = 0>
static void create (flecs::world_t *world, flecs::entity_t entity, Func &&f)
 

Detailed Description

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

Definition at line 46 of file impl.hpp.

Member Function Documentation

◆ create() [1/2]

template<typename Func >
template<typename Evt , if_t< is_empty< Evt >::value > = 0>
static void flecs::_::entity_observer_factory< Func >::create ( flecs::world_t * world,
flecs::entity_t entity,
Func && f )
inlinestatic

Definition at line 48 of file impl.hpp.

◆ create() [2/2]

template<typename Func >
template<typename Evt , if_not_t< is_empty< Evt >::value > = 0>
static void flecs::_::entity_observer_factory< Func >::create ( flecs::world_t * world,
flecs::entity_t entity,
Func && f )
inlinestatic

Definition at line 59 of file impl.hpp.


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