OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TServedObject Class Reference

OLE object exposed for automated access of internal object. More...

#include <ocf/autodefs.h>

Inheritance diagram for ocf::TServedObject:

Public Member Functions

 TServedObject (TObjectDescriptor &obj, TServedObjectCreator &creator, IUnknown *outer=0)
 
 ~TServedObject ()
 
TServedObjectGetAppObject ()
 
TServedObjectCreatorGetCreator ()
 
 operator IDispatch * ()
 
owl::ulong _IFUNC AddRef ()
 
owl::ulong _IFUNC Release ()
 
HRESULT _IFUNC QueryInterface (const GUID &iid, void **iface)
 

Public Attributes

voidObject
 pointer to C++ object instance, 0 if deleted
 
const voidRootObject
 pointer to object of most derived class
 
TAutoClassClass
 class of which object is an instance
 
TServedObjectCreatorCreator
 
owl::TLangId ReqLang
 language requested by caller
 
TObjectDescriptor::TDestruct Destruct
 what to do with C++ object
 

Protected Member Functions

HRESULT QueryObject (const IID &iid, void **iface)
 

Friends

class _ICLASS TAppDescriptor
 
class _ICLASS TOcxView
 
class _ICLASS TOcControl
 

Detailed Description

OLE object exposed for automated access of internal object.

Definition at line 972 of file autodefs.h.

Constructor & Destructor Documentation

◆ TServedObject()

ocf::TServedObject::TServedObject ( TObjectDescriptor & obj,
TServedObjectCreator & creator,
IUnknown * outer = 0 )

Definition at line 97 of file autosrv.cpp.

References ReqLang, and RootObject.

◆ ~TServedObject()

ocf::TServedObject::~TServedObject ( )

Member Function Documentation

◆ AddRef()

owl::ulong _IFUNC ocf::TServedObject::AddRef ( )
inline

Definition at line 993 of file autodefs.h.

◆ GetAppObject()

TServedObject * ocf::TServedObject::GetAppObject ( )
inline

Definition at line 977 of file autodefs.h.

◆ GetCreator()

TServedObjectCreator & ocf::TServedObject::GetCreator ( )
inline

Definition at line 978 of file autodefs.h.

◆ operator IDispatch *()

ocf::TServedObject::operator IDispatch * ( )
inline

Definition at line 1802 of file autodefs.h.

◆ QueryInterface()

HRESULT _IFUNC ocf::TServedObject::QueryInterface ( const GUID & iid,
void ** iface )
inline

Definition at line 995 of file autodefs.h.

◆ QueryObject()

HRESULT ocf::TServedObject::QueryObject ( const IID & iid,
void ** iface )
protected

Definition at line 84 of file autosrv.cpp.

References HR_NOERROR, and ocf::IID_TServedObject.

◆ Release()

owl::ulong _IFUNC ocf::TServedObject::Release ( )
inline

Definition at line 994 of file autodefs.h.

Friends And Related Symbol Documentation

◆ TAppDescriptor

Definition at line 1078 of file autodefs.h.

◆ TOcControl

Definition at line 1080 of file autodefs.h.

◆ TOcxView

Definition at line 1079 of file autodefs.h.

Member Data Documentation

◆ Class

TAutoClass* ocf::TServedObject::Class

class of which object is an instance

Definition at line 984 of file autodefs.h.

◆ Creator

TServedObjectCreator& ocf::TServedObject::Creator

Definition at line 985 of file autodefs.h.

◆ Destruct

TObjectDescriptor::TDestruct ocf::TServedObject::Destruct

what to do with C++ object

Definition at line 988 of file autodefs.h.

◆ Object

void* ocf::TServedObject::Object

pointer to C++ object instance, 0 if deleted

Definition at line 982 of file autodefs.h.

◆ ReqLang

owl::TLangId ocf::TServedObject::ReqLang

language requested by caller

Definition at line 986 of file autodefs.h.

◆ RootObject

const void* ocf::TServedObject::RootObject

pointer to object of most derived class

Definition at line 983 of file autodefs.h.


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