is a basic Interface implemented by every ACDK object and interface for dynamic call an ACDK method.
|
Public Member Functions |
virtual | ~StdDispatch () |
virtual::acdk::lang::dmi::ClazzInfo * | getClazzInfo ()=0 |
| returns the ClazzInfo of this object instance must not be 0
|
virtual::acdk::lang::Object * | getDmiTarget (bool &forwarded, const::acdk::lang::dmi::ClazzInfo *&ci)=0 |
| Method invoke calls should forwarded to the DmiTarget.
|
::acdk::lang::Object * | getDmiTarget (const::acdk::lang::dmi::ClazzInfo *&ci) |
| wrapps the call getDmiTarget(bool& forwarded) with a loop as long forwarded is true
|
virtual DmiClient & | getDmiClient () |
| return the DMI client which should be used for this object In normal case this is the AcdkDmiClient.
|
virtual const ClazzMethodInfo * | standardDispatch (IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo=0, const ClazzMethodInfo *methinf=0) |
| calls a method of this object used in generated stub
|
ScriptVar | invokeMethod (IN(RString) funcname, ScriptVarArray &args, int flags=MiPublic) |
| simpified interface to standardDispatch
|
ScriptVar | invokeMethod (IN(RString) funcname, ScriptVarArray &args, IN(NamedArgs) nargs, int flags=MiPublic) |
ScriptVar | invokeMethod (IN(RString) funcname, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags=MiPublic) |
| simpified interface to standardDispatch
|
ScriptVar | invokeMethod (IN(RString) funcname, ScriptVarArray &args, IN(::acdk::lang::RStringArray) namedArgs, int flags=MiPublic) |
| simpified interface to standardDispatch
|
virtual ScriptVar | getMember (IN(::acdk::lang::RString) fieldname, DmiClient &dc, int flags, const ClazzInfo *type_requested=0) |
| retreive a member variable of this object
|
virtual void | setMember (IN(::acdk::lang::RString) fieldname, const ScriptVar &newval, DmiClient &dc, int flags=MiPublic) |
| set a member variable.
|
virtual SysFields | getInternalFields (int flags, const ClazzInfo *clazz=0) |
| return all fields of this instance using DMI
|
SysField | getInternalField (IN(RString) name, int flags, const ClazzInfo *clazz=0) |
| get a field by name.
|
bool | isDmiOverLoaded (const ClazzInfo *ci, const ClazzMethodInfo *mi) |
| Used from DmiProxyBase to determine if given method is overwritten by dmi.
|
virtual bool | isDmiOverLoaded (const ClazzInfo *ci, IN(RString) funcname, const ClazzMethodInfo *mi, ClazzMethodArgInfo **const args) |
| Used from DmiProxyBase to determine if given method is overwritten by dmi.
|
ScriptVar | invoke (IN(RString) name) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, const ScriptVar &s8) |
ScriptVar | invoke (IN(RString) name, IN(NamedArgs) nargs) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, IN(NamedArgs) nargs) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, IN(NamedArgs) nargs) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, IN(NamedArgs) nargs) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, IN(NamedArgs) nargs) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, IN(NamedArgs) nargs) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, IN(NamedArgs) nargs) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, IN(NamedArgs) nargs) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, IN(NamedArgs) nargs) |
ScriptVar | invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, const ScriptVar &s8, IN(NamedArgs) nargs) |
ScriptVar | peek (IN(RString) fieldname, int flags=MiPublic) |
| Reads a member with given fieldname.
|
void | poke (IN(RString) fieldname, const ScriptVar &arg, int flags=MiPublic) |
| Writes a public object field.
|
Static Public Member Functions |
const ClazzMethodInfo * | _invoke_dynamic (::acdk::lang::Object *This, IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf) |
const ClazzMethodInfo * | _invoke_dynamic_super (::acdk::lang::Object *This, IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf) |
const ClazzMethodInfo * | _invoke_static (IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf) |
const ClazzMethodInfo * | _invoke_static_super (IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf) |
const ClazzMethodInfo * | _invoke_notexistant (::acdk::lang::Object *This, IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf) |
| non existant method.
|
ScriptVar | invokeStaticMethod (IN(RString) classname, IN(RString) funcname, ScriptVarArray &args, int flags=MiPublic|MiStatic) |
| simpified interface to StandardDispatch
|
ScriptVar | invokeStaticMethod (IN(RString) classname, IN(RString) funcname, ScriptVarArray &args, IN(NamedArgs) nargs, int flags=MiPublic|MiStatic) |
| simpified interface to StandardDispatch with named arguments
|
ScriptVar | invokeStaticMethod (IN(RString) classname, IN(RString) funcname, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags=MiPublic|MiStatic) |
| simpified interface to StandardDispatch
|
ScriptVar | getStaticMember (const ClazzInfo *clazz, IN(::acdk::lang::RString) fieldname, DmiClient &dc, int flags, const ClazzInfo *type_requested=0) |
| retreive a static member variable
|
void | setStaticMember (const ClazzInfo *clazz, IN(::acdk::lang::RString) fieldname, const ScriptVar &newval, DmiClient &dc, int flags) |
| set a static member variable core implementetion
|
ScriptVar | New (IN(RString) classname, ScriptVarArray &args, DmiClient &dc=AcdkDmiClient::getDmiClient()) |
| Creates a new Object of given classname.
|
ScriptVar | New (IN(RString) classname, ScriptVarArray &args, IN(RStringArray) nargs, DmiClient &dc=AcdkDmiClient::getDmiClient()) |
ScriptVar | New (IN(RString) classname, ScriptVarArray &args, IN(NamedArgs) nargs, DmiClient &dc=AcdkDmiClient::getDmiClient()) |
ScriptVar | New (IN(RString) name) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4) |
ScriptVar | New (IN(RString) name, IN(NamedArgs) nargs) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0, IN(NamedArgs) nargs) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, IN(NamedArgs) nargs) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, IN(NamedArgs) nargs) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, IN(NamedArgs) nargs) |
ScriptVar | New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, const ScriptVar &s8) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, IN(NamedArgs) nargs) |
ScriptVar | invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, const ScriptVar &s8, IN(NamedArgs) nargs) |
ScriptVar | peek_static (IN(RString) classname, IN(RString) fieldname, int flags=MiPublic|MiStatic) |
| reads a static member
|
void | poke_static (IN(RString) classname, IN(RString) member, const ScriptVar &val, int flags=MiPublic|MiStatic) |
| Writes a public static class field.
|
const ClazzMethodInfo * | lookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, IN(RStringArray) namedArgs, DmiClient &dc, int flags, const ClazzMethodInfo *methinf=0) |
const ClazzMethodInfo * | lookupMethod_cb (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, IN(RStringArray) namedArgs, DmiClient &dc, int flags, const ClazzMethodInfo *methinf) |
| standard callback provided by DmiClient.
|
const ClazzMethodInfo * | lookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, acdk::lang::dmi::ClazzMethodArgInfo **const args, DmiClient &dc, int flags) |
const ClazzMethodInfo * | lookupMethodNoPolymorph (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, IN(RStringArray) namedArgs, DmiClient &dc, int flags, const ClazzMethodInfo *methinf=0) |
| Same as lookupMethod, but look only for non-polymorphic methods.
|
const ClazzMethodInfo * | lookupMethod (const ClazzInfo *&clazz, int methodhash, int flags) |
| find method using the methodhashvalue.
|
const ClazzMethodInfo * | lookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, int flags) |
| Find first function with given name and flags.
|
const ClazzMethodInfo * | _lookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, DmiClient &dc, int flags, const ClazzMethodInfo *methinf) |
| ???
|
const ClazzMethodInfo * | _lookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, IN(RStringArray) namedargs, DmiClient &dc, int flags, const ClazzMethodInfo *methinf) |
| returns a method if found which matching args and named args
|
const ClazzMethodInfo * | _lookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname,::acdk::lang::sys::core_vector< ClazzMethodArgInfo > &args, IN(RStringArray) namedargs, DmiClient &dc, int flags) |
| Finds a method.
|
void | findFunctions (const ClazzInfo *clazz, IN(::acdk::lang::RString) fname, int flags, ClazzMethodInfoVec &vec) |
| find all function with given name and flag
|
const ClazzMethodInfo * | findMethod (const ClazzInfo *&clazz, const FunctionSignature &signature, bool exactMatch=true, int flags=MiIvDeclared) |
| Search for given method
- exactMatch if true the types of the arguments must match exactly otherwise they only must be assignable
- flags = MiIvDeclared.
|
ScriptVar | getStaticMember (const ClazzInfo *clazz, const ClazzFieldInfo *field, int flags) |
| internal implementation to read a static member
|
void | setStaticMember (const ClazzInfo *clazz, const ClazzFieldInfo *field, const ScriptVar &value, DmiClient &dc, int flags) |
ScriptVar | _getMember (::acdk::lang::Object *This, const ClazzInfo *clazz, const ClazzFieldInfo *field, IN(::acdk::lang::RString) fieldname, DmiClient &dc, int flags) |
void | _setMember (::acdk::lang::Object *This, const ScriptVar &val, const ClazzInfo *clazz, const ClazzFieldInfo *field, IN(::acdk::lang::RString) fieldname, DmiClient &dc, int flags) |
Static Protected Member Functions |
const ClazzMethodInfo * | StandardDispatch (IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo=0, const ClazzMethodInfo *methinf=0) |
| This version of StandardDispatch is used in the generated stub and should not called directly.
|
const ClazzMethodInfo * | StandardDispatch (IN(::acdk::lang::RString) classname, IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo=0, const ClazzMethodInfo *methinf=0) |
| calls a static method of this object This is the core implemention method for the invoke_static family
|