6 #ifndef _INC_cObjectFactory_H
7 #define _INC_cObjectFactory_H
#define GRAYCORE_LINK
Definition: GrayCore.h:47
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
Definition: cObjectFactory.h:17
const cTypeInfo & m_TypeInfo
The main name we can create by. Might have multiple alternate aliases for interfaces....
Definition: cObjectFactory.h:30
cObjectFactory(const char *pszName, const TYPEINFO_t &rTypeInfo) noexcept
the typeid() of some object we would create.
Definition: cObjectFactory.h:33
static CObject *__stdcall CreateObject(const TYPEINFO_t &type)
virtual CObject * CreateObject() const =0
Create CObject of some derived cTypeInfo.
const char *const m_pszName
Definition: cObjectFactory.h:29
static CObject *__stdcall CreateObject(const char *pszName)
Definition: cObjectFactory.h:47
Definition: cTypeInfo.h:33
< The main namespace for all Core functions.
Definition: GrayCore.cpp:14
std::type_info TYPEINFO_t
Definition: cTypeInfo.h:29