2005/5/9

     
 

class CorObject

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdkx::orb::CorObject Class Reference

#include <CorObject.h>

Inheritance diagram for acdkx::orb::CorObject:

acdkx::orb::ServerDelegate acdkx::orb::AcdkObjectInterface org::omg::CORBA::portable::ObjectImpl org::omg::CORBA::portable::Delegate acdk::lang::Object org::omg::CORBA::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

This class represents a Corba object used as generic client proxy object.


Public Member Functions

 CorObject (IN(RString) stringifiedref)
 CorObject (IN(RObjectKey) objectkey, IN(RORB) orb)
void setRemoteClazz (const::acdk::lang::dmi::ClazzInfo *oclazz)
void setRemoteClass (IN(RClass) cls)
void setRemoteClass (IN(RString) classname)
virtual::acdk::lang::dmi::ClazzInfo * getClazzInfo ()
 not using the standard meta info, becuase this class is used as a proxy

static::acdk::lang::dmi::ClazzInfo * clazzInfo ()
 return the ClazzInfo for this class will be re-implemented for each class by methods generated by acdkmc

virtual::acdk::lang::RClass getClass ()
static::acdk::lang::RClass GetClass ()
static::acdk::lang::RObject create_array (int length=0)
static::acdk::lang::RObject create_array_array (int firstLength=0, int secondLength=0)
virtual void getCollectableFields (FieldReferences &fields)
 retrun the collectable fields of this object (all Objects fields) will be re-implemented for each class by methods generated by acdkmc If this is manually implemented, the flag ObjectHasLocalGc should be set.

virtual::acdk::lang::dmi::SysFields getInternalFields (int flags, const::acdk::lang::dmi::ClazzInfo *clazz=0)
virtual const::acdk::lang::dmi::ClazzMethodInfo * standardDispatch (IN(RString) fname,::acdk::lang::dmi::ScriptVar &ret,::acdk::lang::dmi::ScriptVarArray &args,::acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const::acdk::lang::dmi::ClazzInfo *clazzinfo=0, const::acdk::lang::dmi::ClazzMethodInfo *methinf=0)
 CorObject (RORB theorb, RObjectKey objKey)
bool isAcdkObject ()
virtual acdk::lang::dmi::DmiClientgetDmiClient ()
 return the DMI client which should be used for this object In normal case this is the AcdkDmiClient.

acdk::lang::Object createDmiProxy (IN(RClass) cls)
 create a dynamic proxy for this object.

void setAcdkTypeLibrary (IN(RString) classname)
virtual acdk::lang::Object get_cor_factory (IN(RString) classname)
virtual acdk::lang::Object dyn_new (IN(RString) classname, IN(RString) constructor, IN(RDmiObjectArray) inp, OUT(RDmiObjectArray) outp)
virtual RDmiObject dyn_invoke (IN(RString) methodname, IN(RDmiObjectArray) inp, OUT(RDmiObjectArray) outp)
virtual RDmiObject dyn_invoke_static (IN(RString) classname, IN(RString) methodname, IN(RDmiObjectArray) inp, OUT(RDmiObjectArray) outp)
virtual RDmiObject dyn_peek (IN(RString) membername)
virtual RDmiObject dyn_peek_static (IN(RString) classname, IN(RString) membername)
virtual void dyn_poke (IN(RString) membername, IN(RDmiObject) value)
virtual void dyn_poke_static (IN(RString) classname, IN(RString) membername, IN(RDmiObject) value)

Static Public Member Functions

acdk::lang::Object create_instance ()
const::acdk::lang::dmi::ClazzMethodInfo * StandardDispatch (IN(RString) fname,::acdk::lang::dmi::ScriptVar &ret,::acdk::lang::dmi::ScriptVarArray &args,::acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const::acdk::lang::dmi::ClazzInfo *clazzinfo=0, const::acdk::lang::dmi::ClazzMethodInfo *methinf=0)

Public Attributes

static::acdk::lang::dmi::AcdkDmiClient _dmiClient

Protected Member Functions

 CorObject ()
 used only in create_instance which itself needed for dynamic skeleton

virtual bool isDmiOverLoaded (const acdk::lang::dmi::ClazzInfo *ci, IN(RString) funcname, const acdk::lang::dmi::ClazzMethodInfo *mi, acdk::lang::dmi::ClazzMethodArgInfo **const args)

Protected Attributes

const::acdk::lang::dmi::ClazzInfo * _objectClazzInfo
 _objectClazzInfo represents the type library of the remote object


Private Attributes

static::acdk::lang::dmi::ClazzInfo _clazzInfo


Constructor & Destructor Documentation

acdkx::orb::CorObject::CorObject  )  [protected]
 

used only in create_instance which itself needed for dynamic skeleton

acdkx::orb::CorObject::CorObject IN(RString stringifiedref  ) 
 

acdkx::orb::CorObject::CorObject IN(RObjectKey objectkey,
IN(RORB orb
 

acdkx::orb::CorObject::CorObject RORB  theorb,
RObjectKey  objKey
[inline]
 


Member Function Documentation

static ::acdk::lang::dmi::ClazzInfo* acdkx::orb::CorObject::clazzInfo  )  [inline]
 

return the ClazzInfo for this class will be re-implemented for each class by methods generated by acdkmc

Reimplemented from acdk::lang::ObjectBase.

static ::acdk::lang::RObject acdkx::orb::CorObject::create_array int  length = 0  )  [inline]
 

static ::acdk::lang::RObject acdkx::orb::CorObject::create_array_array int  firstLength = 0,
int  secondLength = 0
[inline]
 

acdk::lang::Object acdkx::orb::CorObject::create_instance  )  [inline, static]
 

Reimplemented from acdk::lang::Object.

acdk::lang::Object acdkx::orb::CorObject::createDmiProxy IN(RClass cls  ) 
 

create a dynamic proxy for this object.

Only possible, if the remote object is a ACDK class The returned object can be casted to a type of cls if no DmiProxy is available for this class method returns with Nil

virtual RDmiObject acdkx::orb::CorObject::dyn_invoke IN(RString methodname,
IN(RDmiObjectArray inp,
OUT(RDmiObjectArray outp
[virtual]
 

Implements acdkx::orb::AcdkObjectInterface.

virtual RDmiObject acdkx::orb::CorObject::dyn_invoke_static IN(RString classname,
IN(RString methodname,
IN(RDmiObjectArray inp,
OUT(RDmiObjectArray outp
[virtual]
 

Implements acdkx::orb::AcdkObjectInterface.

virtual acdk::lang::Object acdkx::orb::CorObject::dyn_new IN(RString classname,
IN(RString constructor,
IN(RDmiObjectArray inp,
OUT(RDmiObjectArray outp
[virtual]
 

Implements acdkx::orb::AcdkObjectInterface.

virtual RDmiObject acdkx::orb::CorObject::dyn_peek IN(RString membername  )  [virtual]
 

Implements acdkx::orb::AcdkObjectInterface.

virtual RDmiObject acdkx::orb::CorObject::dyn_peek_static IN(RString classname,
IN(RString membername
[virtual]
 

Implements acdkx::orb::AcdkObjectInterface.

virtual void acdkx::orb::CorObject::dyn_poke IN(RString membername,
IN(RDmiObject value
[virtual]
 

Implements acdkx::orb::AcdkObjectInterface.

virtual void acdkx::orb::CorObject::dyn_poke_static IN(RString classname,
IN(RString membername,
IN(RDmiObject value
[virtual]
 

Implements acdkx::orb::AcdkObjectInterface.

virtual acdk::lang::Object acdkx::orb::CorObject::get_cor_factory IN(RString classname  )  [virtual]
 

Implements acdkx::orb::AcdkObjectInterface.

static ::acdk::lang::RClass acdkx::orb::CorObject::GetClass  )  [inline]
 

Reimplemented from acdk::lang::Object.

virtual ::acdk::lang::RClass acdkx::orb::CorObject::getClass  )  [inline, virtual]
 

Reimplemented from acdk::lang::Object.

virtual ::acdk::lang::dmi::ClazzInfo* acdkx::orb::CorObject::getClazzInfo  )  [inline, virtual]
 

not using the standard meta info, becuase this class is used as a proxy

Implements acdk::lang::dmi::StdDispatch.

virtual void acdkx::orb::CorObject::getCollectableFields FieldReferences fields  )  [inline, virtual]
 

retrun the collectable fields of this object (all Objects fields) will be re-implemented for each class by methods generated by acdkmc If this is manually implemented, the flag ObjectHasLocalGc should be set.

Reimplemented from acdk::lang::ObjectBase.

virtual acdk::lang::dmi::DmiClient& acdkx::orb::CorObject::getDmiClient  )  [inline, virtual]
 

return the DMI client which should be used for this object In normal case this is the AcdkDmiClient.

Reimplemented from acdk::lang::dmi::StdDispatch.

virtual ::acdk::lang::dmi::SysFields acdkx::orb::CorObject::getInternalFields int  flags,
const ::acdk::lang::dmi::ClazzInfo clazz = 0
[inline]
 

bool acdkx::orb::CorObject::isAcdkObject  ) 
 

Returns:
true if this object is a ACDK object In this case the DMI over IIOP can be used

virtual bool acdkx::orb::CorObject::isDmiOverLoaded const acdk::lang::dmi::ClazzInfo ci,
IN(RString funcname,
const acdk::lang::dmi::ClazzMethodInfo mi,
acdk::lang::dmi::ClazzMethodArgInfo **const  args
[protected, virtual]
 

void acdkx::orb::CorObject::setAcdkTypeLibrary IN(RString classname  ) 
 

void acdkx::orb::CorObject::setRemoteClass IN(RString classname  )  [inline]
 

void acdkx::orb::CorObject::setRemoteClass IN(RClass cls  )  [inline]
 

void acdkx::orb::CorObject::setRemoteClazz const ::acdk::lang::dmi::ClazzInfo oclazz  )  [inline]
 

const ::acdk::lang::dmi::ClazzMethodInfo* acdkx::orb::CorObject::StandardDispatch IN(RString fname,
::acdk::lang::dmi::ScriptVar ret,
::acdk::lang::dmi::ScriptVarArray args,
::acdk::lang::dmi::DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const::acdk::lang::dmi::ClazzInfo *  clazzinfo = 0,
const::acdk::lang::dmi::ClazzMethodInfo *  methinf = 0
[static]
 

virtual const ::acdk::lang::dmi::ClazzMethodInfo* acdkx::orb::CorObject::standardDispatch IN(RString fname,
::acdk::lang::dmi::ScriptVar ret,
::acdk::lang::dmi::ScriptVarArray args,
::acdk::lang::dmi::DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const::acdk::lang::dmi::ClazzInfo *  clazzinfo = 0,
const::acdk::lang::dmi::ClazzMethodInfo *  methinf = 0
[virtual]
 


Member Data Documentation

::acdk::lang::dmi::ClazzInfo acdkx::orb::CorObject::_clazzInfo [private]
 

::acdk::lang::dmi::AcdkDmiClient acdkx::orb::CorObject::_dmiClient
 

const ::acdk::lang::dmi::ClazzInfo* acdkx::orb::CorObject::_objectClazzInfo [protected]
 

_objectClazzInfo represents the type library of the remote object