OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Standard implementation of a controlling IUnknown for an object, to be inherited with other COM interfaces into an implementation class whose IUnknown implementation delegates to TUnknown::Outer. More...
#include <ocf/oleutil.h>
Public Member Functions | |
operator IUnknown & () | |
operator IUnknown * () | |
IUnknown * | SetOuter (IUnknown *outer=0) |
IUnknown * | GetOuter () |
unsigned long | GetRefCount () |
unsigned long | AdjustRefCount (int i) |
IUnknown & | Aggregate (TUnknown &inner) |
Protected Member Functions | |
TUnknown () | |
virtual | ~TUnknown () |
IUnknown & | ThisUnknown () |
virtual HRESULT | QueryObject (const GUID &iid, void **pif) |
QueryObject used when TUnknown is in constructor/destructor. | |
Protected Attributes | |
IUnknown * | Outer |
Friends | |
class | TUnknownI |
Standard implementation of a controlling IUnknown for an object, to be inherited with other COM interfaces into an implementation class whose IUnknown implementation delegates to TUnknown::Outer.
|
protected |
Definition at line 229 of file oleutil.cpp.
|
protectedvirtual |
Definition at line 255 of file oleutil.cpp.
References _OBJ_FULLTYPENAME, _T, TRACEX, and WARNX.
IUnknown & ocf::TUnknown::Aggregate | ( | TUnknown & | inner | ) |
Definition at line 243 of file oleutil.cpp.
References Aggregate(), and Outer.
Definition at line 337 of file oleutil.cpp.
References Outer.
QueryObject used when TUnknown is in constructor/destructor.
Definition at line 279 of file oleutil.cpp.
|
inline |
Definition at line 298 of file oleutil.h.
References Outer, and SetOuter().