#include <scriptable_intf.h>
Inherits adtf::ucom::ant::IObject.
|
|
typedef const char * | tScriptArgs |
| | Standard scripting argument type.
|
| |
|
|
| ~IScriptable ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
|
| ~IObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
The IScriptable interface provides a generic way to implement scripting capabilities. Script calls are encapsulated in simple XML strings that contain command and parameter information. Parameter passing is usually done by using XML attributes and name-value pairs, but it is up to the implementer to declare any advanced mechanism on top of XML to be used for communication.
◆ ADTF_IID()
| adtf::ucom::ant::IScriptable::ADTF_IID |
( |
IScriptable | , |
|
|
"scriptable.ant.ucom.adtf.iid" | ) |
◆ ScriptRunCommand()
| virtual tResult adtf::ucom::ant::IScriptable::ScriptRunCommand |
( |
const char * | strCommand, |
|
|
void * | pvData = NULL, |
|
|
int | szData = 0 ) |
|
pure virtual |
Run script command. The ScriptRunCommand method calls a specific script command.
- Parameters
-
| strCommand | [in] XML command string. The command string has the following body: < cmd name="CMD" / > you can use e.g. the macro |
- See also
- __script_cmd0
- Parameters
-
| pvData | [in] Pointer to command specific data. |
| szData | [in] Size of command specific data. |
- Returns
- Returns a standard result code.
The documentation for this class was generated from the following file: