//store this XML document in file "module_properties.xml" |
<UserModule idlFile="test1.idl" componentID="timerModule_1"> |
<repositoryID>IDL:Gateway/test/timer_1:1.0</repositoryID> |
<properties> |
<simpleDef attID="timerEvent" eventType="genericEvent"> |
<wrapper_interface>IDL:Gateway/test/timerEvent:1.0 </wrapper_interface> |
<simple type="string" name="genericTimerEvent"> |
<description>this is optional desctiption</description> |
<repositoryID>string</repositoryID> |
</simple> |
</simpleDef> |
<structDef attID="timerProperty" eventType="propertyEvent"> |
<wrapper_interface>IDL:Gateway/test/timerProperty:1.0 </wrapper_interface> |
<struct type="struct" name="timerPropertyEvent"> |
<description>this is optional desctiption</description> |
<repositoryID>IDL:Gateway/test/timerstruct:1.0</repositoryID> |
<sequence type="sequence<long>" name="pastValues"> |
<description>this is optional desctiption</description> |
<repositoryID>IDL:Gateway/test/longArray:1.0</repositoryID> |
</sequence> |
<simple type="string" name="currenttime"> |
<description>this is optional desctiption</description> |
</simple> |
</struct> |
...................//Other property definitions |
</properties> |
<methodList> |
<method name="method_1" returnType="void"> |
<parameter name="p1" type="string"/> |
<parameter name="p2" type="long"/> |
</method> |
<method name="method_2" returnType="void"> </method> |
</methodList> |
</UserModule> |
Partial translation |
of the idl file above |
in XML document |