QCocUnknown Class Reference

Client Unknown class. More...

#include <QCocObject.h>

Inheritance diagram for QCocUnknown:

Inheritance graph

List of all members.

Public Member Functions

QCocUnknownoperator= (const QCocUnknown &copy)
 QCocUnknown (const QCocUnknown &copy)
 QCocUnknown (IUnknown *v_unknown=NULL, QObject *parent=NULL)
virtual ~QCocUnknown ()
virtual HRESULT QueryInterface (REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject)
 Server QueryInterface Call.
virtual ULONG AddRef (void)
 Server AddRef call.
virtual ULONG Release (void)
 Server Release call.

Public Attributes

IUnknown * m_unknown
 IUnknown server pointer.

Detailed Description

Client Unknown class.

This class is used to build client-class interfaces. It implements all the base IUnknown interface hooks. In simple terms it forwards all COM calls to the appointed COM server though the m_pUnknown interface pointer.

Definition at line 176 of file QCocObject.h.

Constructor & Destructor Documentation

QCocUnknown::QCocUnknown ( const QCocUnknown copy  )  [inline]

Definition at line 203 of file QCocObject.h.

QCocUnknown::QCocUnknown ( IUnknown *  v_unknown = NULL,
QObject *  parent = NULL 

Definition at line 34 of file QCocObject.cpp.

QCocUnknown::~QCocUnknown (  )  [virtual]

Definition at line 42 of file QCocObject.cpp.

Member Function Documentation

virtual ULONG QCocUnknown::AddRef ( void   )  [inline, virtual]

Server AddRef call.

This makes the call to the server AddRef.

Definition at line 236 of file QCocObject.h.

QCocUnknown& QCocUnknown::operator= ( const QCocUnknown copy  )  [inline]

Definition at line 196 of file QCocObject.h.

virtual HRESULT QCocUnknown::QueryInterface ( REFIID  riid,
void __RPC_FAR *__RPC_FAR *  ppvObject 
) [inline, virtual]

Server QueryInterface Call.

This makes the call to the server QueryInterface.

Definition at line 219 of file QCocObject.h.

virtual ULONG QCocUnknown::Release ( void   )  [inline, virtual]

Server Release call.

This makes the call to the server Release.

Definition at line 253 of file QCocObject.h.

Member Data Documentation

IUnknown server pointer.

This points to the server interface. It must be set manually after a call to CoCreateServer or other Interface Acquiring routines.

Definition at line 190 of file QCocObject.h.

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

~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
Commence Database User Support Group Forum
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC