2005/5/9

     
 

class StdDmiDelegate

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

acdk::lang::dmi::StdDmiDelegate Class Reference

#include <DmiDelegate.h>

Inheritance diagram for acdk::lang::dmi::StdDmiDelegate:

acdk::lang::Object acdk::lang::dmi::DmiDelegate acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Standard DMI implementation Delegate call to underlying object via dmi.

See also:
 Delegates


Public Member Functions

 StdDmiDelegate (IN(RObject) obj, IN(RString) methodName)
 invokes a non static method of given obj

 StdDmiDelegate (IN(RClass) cls, IN(RString) methodName)
 invokes a static method of given class

RObject getObject ()
 get target object.

RClass getClass ()
 get target class.

RString getMethodName ()
virtual RDmiObject call (IN(RDmiObjectArray) args)
 call the method with variable arguments

virtual RDmiObject call (IN(RDmiNamedArgArray) namedArgs)
 call the method with variable named arguments

ScriptVar call (INOUT(ScriptVarArray) args)
 internal by default calls call(IN(RDmiObjectArray) args)


Protected Attributes

RObject _object
RString _methodName
RClass _class


Constructor & Destructor Documentation

acdk::lang::dmi::StdDmiDelegate::StdDmiDelegate IN(RObject obj,
IN(RString methodName
[inline]
 

invokes a non static method of given obj

acdk::lang::dmi::StdDmiDelegate::StdDmiDelegate IN(RClass cls,
IN(RString methodName
[inline]
 

invokes a static method of given class


Member Function Documentation

ScriptVar acdk::lang::dmi::StdDmiDelegate::call INOUT(ScriptVarArray args  )  [virtual]
 

internal by default calls call(IN(RDmiObjectArray) args)

Reimplemented from acdk::lang::dmi::DmiDelegate.

virtual RDmiObject acdk::lang::dmi::StdDmiDelegate::call IN(RDmiNamedArgArray namedArgs  )  [virtual]
 

call the method with variable named arguments

Implements acdk::lang::dmi::DmiDelegate.

virtual RDmiObject acdk::lang::dmi::StdDmiDelegate::call IN(RDmiObjectArray args  )  [virtual]
 

call the method with variable arguments

Implements acdk::lang::dmi::DmiDelegate.

RClass acdk::lang::dmi::StdDmiDelegate::getClass  )  [inline, virtual]
 

get target class.

May be Nil if used for a non static method

Reimplemented from acdk::lang::Object.

RString acdk::lang::dmi::StdDmiDelegate::getMethodName  )  [inline]
 

RObject acdk::lang::dmi::StdDmiDelegate::getObject  )  [inline]
 

get target object.

May be Nil if used for a static method


Member Data Documentation

RClass acdk::lang::dmi::StdDmiDelegate::_class [protected]
 

RString acdk::lang::dmi::StdDmiDelegate::_methodName [protected]
 

RObject acdk::lang::dmi::StdDmiDelegate::_object [protected]