8 #ifndef _ADTF_UCOM_ANT_SCRIPTABLE_INTERFACE_INCLUDES_HEADER_
9 #define _ADTF_UCOM_ANT_SCRIPTABLE_INTERFACE_INCLUDES_HEADER_
62 #define __script_cmd0(cmd) "<cmd name=\"" cmd "\" />"
65 #define __script_cmd1(cmd \
66 , arg_name1, arg_value1 \
68 "<cmd name=" #cmd " " \
69 #arg_name1 "=" #arg_value1 " " \
73 #define __script_cmd2(cmd \
74 , arg_name1, arg_value1 \
75 , arg_name2, arg_value2 \
77 "<cmd name=" #cmd " " \
78 #arg_name1 "=" #arg_value1 " " \
79 #arg_name2 "=" #arg_value2 " " \
83 #define __script_cmd3(cmd \
84 , arg_name1, arg_value1 \
85 , arg_name2, arg_value2 \
86 , arg_name3, arg_value3 \
88 "<cmd name=" #cmd " " \
89 #arg_name1 "=" #arg_value1 " " \
90 #arg_name2 "=" #arg_value2 " " \
91 #arg_name3 "=" #arg_value3 " " \
A common result class usable as return value throughout.
Base class for every interface type within the uCOM.
The IScriptable interface provides a generic way to implement scripting capabilities.
ADTF_IID(IScriptable, "scriptable.ant.ucom.adtf.iid")
Marks the IScriptable to be castable with the ucom_cast<>
~IScriptable()=default
Protected destructor --> Use implemented Destroy() instead of delete!
virtual tResult ScriptRunCommand(const char *strCommand, void *pvData=NULL, int szData=0)=0
Run script command.
const char * tScriptArgs
Standard scripting argument type.
ant::IScriptable IScriptable
Alias always bringing the latest version of ant::IScriptable into scope.
Namespace for entire ADTF SDK.