QCocDispatch Class Reference

Client Dispatch class. More...

#include <QCocObject.h>

Inheritance diagram for QCocDispatch:

Inheritance graph

List of all members.

Public Slots

virtual QString getDocumentation ()

Public Member Functions

 QCocDispatch (IUnknown *v_pUnknown=NULL, QObject *parent=NULL)
virtual ~QCocDispatch ()
virtual HRESULT GetTypeInfoCount (UINT *pctinfo)
virtual HRESULT GetTypeInfo (UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
virtual HRESULT GetIDsOfNames (REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
virtual HRESULT Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
virtual HRESULT Invoke (const char *dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
virtual DISPID GetIDofName (QString &cmdName)
virtual DISPID GetIDofName (const char *cmdName)
virtual long GetServerLong (DISPID dispid, WORD wFlags=DISPATCH_PROPERTYGET)
virtual long GetServerLong (const char *dispid, WORD wFlags=DISPATCH_PROPERTYGET)
virtual bool GetServerBool (DISPID dispid, WORD wFlags=DISPATCH_PROPERTYGET)
virtual bool GetServerBool (const char *dispid, WORD wFlags=DISPATCH_PROPERTYGET)
virtual QString GetServerString (DISPID dispid, WORD wFlags=DISPATCH_PROPERTYGET, HRESULT *hr=NULL)
virtual QString GetServerString (const char *dispid, WORD wFlags=DISPATCH_PROPERTYGET, HRESULT *hr=NULL)
virtual void PutServerString (DISPID dispid, QString newValue, WORD wFlags=DISPATCH_PROPERTYPUT)
virtual void PutServerString (const char *dispid, QString newValue, WORD wFlags=DISPATCH_PROPERTYPUT)
virtual void PutServerLong (DISPID dispid, long newValue, WORD wFlags=DISPATCH_PROPERTYPUT)
virtual void PutServerLong (const char *dispid, long newValue, WORD wFlags=DISPATCH_PROPERTYPUT)


Detailed Description

Client Dispatch class.

This is the class used to build client Dispatch interfaces. It implements all the base IDispatch interface hooks. In simple terms it forwards all COM calls to the appointed COM server though the m_pUnknown interface pointer contained in the root QCocUnknown class.

Definition at line 280 of file QCocObject.h.


Constructor & Destructor Documentation

QCocDispatch::QCocDispatch ( IUnknown *  v_pUnknown = NULL,
QObject *  parent = NULL 
)

Definition at line 52 of file QCocObject.cpp.

QCocDispatch::~QCocDispatch (  )  [virtual]

Definition at line 58 of file QCocObject.cpp.


Member Function Documentation

QString QCocDispatch::getDocumentation (  )  [virtual, slot]

Definition at line 352 of file QCocObject.cpp.

virtual DISPID QCocDispatch::GetIDofName ( const char *  cmdName  )  [inline, virtual]

Definition at line 388 of file QCocObject.h.

DISPID QCocDispatch::GetIDofName ( QString &  cmdName  )  [virtual]

Definition at line 223 of file QCocObject.cpp.

virtual HRESULT QCocDispatch::GetIDsOfNames ( REFIID  riid,
LPOLESTR *  rgszNames,
UINT  cNames,
LCID  lcid,
DISPID *  rgDispId 
) [inline, virtual]

Definition at line 312 of file QCocObject.h.

bool QCocDispatch::GetServerBool ( const char *  dispid,
WORD  wFlags = DISPATCH_PROPERTYGET 
) [virtual]

Definition at line 114 of file QCocObject.cpp.

bool QCocDispatch::GetServerBool ( DISPID  dispid,
WORD  wFlags = DISPATCH_PROPERTYGET 
) [virtual]

Definition at line 119 of file QCocObject.cpp.

long QCocDispatch::GetServerLong ( const char *  dispid,
WORD  wFlags = DISPATCH_PROPERTYGET 
) [virtual]

Definition at line 63 of file QCocObject.cpp.

long QCocDispatch::GetServerLong ( DISPID  dispid,
WORD  wFlags = DISPATCH_PROPERTYGET 
) [virtual]

Definition at line 68 of file QCocObject.cpp.

QString QCocDispatch::GetServerString ( const char *  dispid,
WORD  wFlags = DISPATCH_PROPERTYGET,
HRESULT *  hr = NULL 
) [virtual]

Definition at line 164 of file QCocObject.cpp.

QString QCocDispatch::GetServerString ( DISPID  dispid,
WORD  wFlags = DISPATCH_PROPERTYGET,
HRESULT *  hr = NULL 
) [virtual]

Definition at line 169 of file QCocObject.cpp.

virtual HRESULT QCocDispatch::GetTypeInfo ( UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
) [inline, virtual]

Definition at line 300 of file QCocObject.h.

virtual HRESULT QCocDispatch::GetTypeInfoCount ( UINT *  pctinfo  )  [inline, virtual]

Definition at line 290 of file QCocObject.h.

virtual HRESULT QCocDispatch::Invoke ( const char *  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT *  pVarResult,
EXCEPINFO *  pExcepInfo,
UINT *  puArgErr 
) [inline, virtual]

Definition at line 357 of file QCocObject.h.

virtual HRESULT QCocDispatch::Invoke ( DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT *  pVarResult,
EXCEPINFO *  pExcepInfo,
UINT *  puArgErr 
) [inline, virtual]

Definition at line 326 of file QCocObject.h.

void QCocDispatch::PutServerLong ( const char *  dispid,
long  newValue,
WORD  wFlags = DISPATCH_PROPERTYPUT 
) [virtual]

Definition at line 301 of file QCocObject.cpp.

void QCocDispatch::PutServerLong ( DISPID  dispid,
long  newValue,
WORD  wFlags = DISPATCH_PROPERTYPUT 
) [virtual]

Definition at line 306 of file QCocObject.cpp.

void QCocDispatch::PutServerString ( const char *  dispid,
QString  newValue,
WORD  wFlags = DISPATCH_PROPERTYPUT 
) [virtual]

Definition at line 245 of file QCocObject.cpp.

void QCocDispatch::PutServerString ( DISPID  dispid,
QString  newValue,
WORD  wFlags = DISPATCH_PROPERTYPUT 
) [virtual]

Definition at line 250 of file QCocObject.cpp.


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
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com