MxEngine
Public Types | Static Public Member Functions | List of all members
MxEngine::ComponentFactory Class Reference

Public Types

using FactoryMap = MxHashMap< StringId, std::aligned_storage_t< FactorySize >>
 

Static Public Member Functions

template<typename T >
static FactoryImpl< T > & GetFactory ()
 
template<typename T >
static auto & Get ()
 
template<typename T >
static ComponentView< T > GetView ()
 
template<typename T , typename... Args>
static auto CreateComponent (Args &&... args)
 
template<typename T >
static void Destroy (Resource< T, ComponentFactory > &resource)
 
static void Init ()
 
static FactoryMap * GetImpl ()
 
static void Clone (FactoryMap *other)
 

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