NERvDN Library  0.2.0.20160420-0019
NERvLibrary - Nerve Gear Developer Network
NERvGear::IObjectFactory Struct Referenceabstract

Nerve Gear object factory interface. More...

#include <NERvGear/interface/IObjectFactory.h>

Inheritance diagram for NERvGear::IObjectFactory:
NERvGear::IClassFactory NERvGear::IUnknown NERvGear::ObjectFactoryBase NERvGear::ObjectFactoryT< T, false > NERvGear::ObjectFactoryT< T, true >

Detailed Description

Nerve Gear object factory interface.

Define ID:

const NERvGear::UID NERvGear::ID_IObjectFactory; // 4F490001-6A62-6365-7446-6163746F7279

Public Member Functions

virtual long __stdcall CreateInstanceEx (MODULE *refModule, IUnknown *unknownOuter, const UID &interfaceID, void **ppvObject)=0
 
virtual const OBJECT_INFO &__stdcall GetInfo () const =0
 
- Public Member Functions inherited from NERvGear::IClassFactory
virtual long __stdcall CreateInstance (IUnknown *unknownOuter, const UID &interfaceID, void **ppvObject)=0
 
virtual long __stdcall LockServer (bool lock)=0
 
- Public Member Functions inherited from NERvGear::IUnknown
virtual long __stdcall QueryInterface (const UID &interfaceID, void **ppvObject)=0
 
virtual unsigned long __stdcall AddRef ()=0
 
virtual unsigned long __stdcall Release ()=0