Cogs.Core
Public Member Functions | Public Attributes | List of all members
Cogs::Core::ComponentSystemWithDataPools< ComponentType, DataTypes >::CreateFunctor Struct Reference

Functor object used to create component data. More...

#include <ComponentSystem.h>

Public Member Functions

template<typename Type >
void operator() (Type &&data)
 

Public Attributes

ComponentHandle component
 

Detailed Description

template<typename ComponentType, typename... DataTypes>
struct Cogs::Core::ComponentSystemWithDataPools< ComponentType, DataTypes >::CreateFunctor

Functor object used to create component data.

Definition at line 260 of file ComponentSystem.h.

Member Function Documentation

◆ operator()()

template<typename ComponentType , typename... DataTypes>
template<typename Type >
void Cogs::Core::ComponentSystemWithDataPools< ComponentType, DataTypes >::CreateFunctor::operator() ( Type &&  data)
inline

Definition at line 265 of file ComponentSystem.h.

Member Data Documentation

◆ component

template<typename ComponentType , typename... DataTypes>
ComponentHandle Cogs::Core::ComponentSystemWithDataPools< ComponentType, DataTypes >::CreateFunctor::component

Definition at line 262 of file ComponentSystem.h.


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