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 ()
TServedObject * GetAppObject ()
TServedObjectCreator & GetCreator ()
 operator IDispatch * ()
owl::ulong _IFUNC AddRef ()
owl::ulong _IFUNC Release ()
HRESULT _IFUNC QueryInterface (const GUID &iidiid, void **iface)

Public Attributes

void * Object
 pointer to C++ object instance, 0 if deleted
const void * RootObject
 pointer to object of most derived class
TAutoClass * Class
 class of which object is an instance
TServedObjectCreator & Creator
owl::TLangId ReqLang
 language requested by caller
TObjectDescriptor::TDestruct Destruct
 what to do with C++ object

Protected Member Functions

HRESULT QueryObject (const IID &iidiid, 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()

◆ ~TServedObject()

Member Function Documentation

◆ AddRef()

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

Definition at line 993 of file autodefs.h.

References _IFUNC.

◆ GetAppObject()

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

Definition at line 977 of file autodefs.h.

References TServedObject(), and Creator.

◆ GetCreator()

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

Definition at line 978 of file autodefs.h.

References Creator.

◆ operator IDispatch *()

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

Definition at line 1802 of file autodefs.h.

References AddRef().

◆ QueryInterface()

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

Definition at line 995 of file autodefs.h.

References _IFUNC.

◆ QueryObject()

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

Definition at line 84 of file autosrv.cpp.

References TServedObject(), HR_NOERROR, ocf::IID_TServedObject, and QueryObject().

◆ Release()

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

Definition at line 994 of file autodefs.h.

References _IFUNC.

◆ TAppDescriptor

friend class _ICLASS TAppDescriptor
friend

Definition at line 1078 of file autodefs.h.

References _ICLASS, and TAppDescriptor.

◆ TOcControl

friend class _ICLASS TOcControl
friend

Definition at line 1080 of file autodefs.h.

References _ICLASS, and TOcControl.

◆ TOcxView

friend class _ICLASS TOcxView
friend

Definition at line 1079 of file autodefs.h.

References _ICLASS, and TOcxView.

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: