19 void * CreateObject(
const char *inName);
22 const RTTI * Find(
const char *inName);
28 bool Register(
const RTTI *inRTTI);
31 bool Register(
const RTTI **inRTTIs,
uint inNumber);
48 ClassNameMap mClassNameMap;
51 ClassHashMap mClassHashMap;
#define JPH_EXPORT
Definition: Core.h:236
unsigned int uint
Definition: Core.h:452
#define JPH_NAMESPACE_END
Definition: Core.h:378
std::uint32_t uint32
Definition: Core.h:455
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:372
#define JPH_OVERRIDE_NEW_DELETE
Macro to override the new and delete functions.
Definition: Memory.h:31
std::unordered_map< Key, T, Hash, KeyEqual, STLAllocator< pair< const Key, T > > > UnorderedMap
Definition: UnorderedMap.h:13
This class is responsible for creating instances of classes based on their name or hash and is mainly...
Definition: Factory.h:14
static Factory * sInstance
Singleton factory instance.
Definition: Factory.h:40