DumontEXE 0.0.1
Public Member Functions
QClassFactory Class Reference

Qt Class Factory. More...

List of all members.

Public Member Functions

ULONG __stdcall AddRef (void)
 Add Reference.
HRESULT __stdcall CreateInstance (IUnknown *pUnkOuter, const IID &iid, void **ppv)
 Create COM object Instance by ID.
HRESULT __stdcall QueryInterface (const IID &iid, void **ppv)
 Standard QueryInterface.
ULONG __stdcall Release (void)
 Release Reference.

Detailed Description

Qt Class Factory.

This is the class factory that gets exposed to Windows. It takes care of dispatching createObject calls to our 'real' factory (the one exposed to the rest of the Qt application).

Definition at line 1004 of file QAxFactory.cpp.


Member Function Documentation

ULONG __stdcall AddRef ( void  ) [inline]

Add Reference.

Since we are a factory, we never get deleted, because we have been registered with the windows operating system... and therefore we must remain static. Reference counting, though required, isn't done here.

Definition at line 1084 of file QAxFactory.cpp.

HRESULT __stdcall CreateInstance ( IUnknown *  pUnkOuter,
const IID &  iid,
void **  ppv 
) [inline]

Create COM object Instance by ID.

This function gets called by the hosting application to create an instance of a specific COM object by way of its ID.

Definition at line 1112 of file QAxFactory.cpp.

HRESULT __stdcall QueryInterface ( const IID &  iid,
void **  ppv 
) [inline]

Standard QueryInterface.

This procedure is pretty boiler-plate. It simply checks the requested ID from the caller, and it must either be the standard IUnknown interface or the IClassFactory interface to be awarded a reply.

Definition at line 1021 of file QAxFactory.cpp.

ULONG __stdcall Release ( void  ) [inline]

Release Reference.

Do *no* reference counting.

/see AddRef

Definition at line 1097 of file QAxFactory.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com