Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/superv.git] / examples / GraphInLinesParall.xml
diff --git a/examples/GraphInLinesParall.xml b/examples/GraphInLinesParall.xml
new file mode 100755 (executable)
index 0000000..74a3cb8
--- /dev/null
@@ -0,0 +1,216 @@
+<!DOCTYPE Dataflow>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>GraphInLinesParall</node-name>
+   <kind>1</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>GraphInLinesParall</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Add\a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Sub\a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>Sub\b</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Add\f</outParameter-name>     </outParameter>
+     <outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Mul\Result</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list/>
+   <creation-date>24/3/2003 - 10:58:41</creation-date>
+   <lastmodification-date>18/9/2003 - 17:31:28</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>?</comment>
+   <x-position>0</x-position>
+   <y-position>0</y-position>  </node> </info-list>
+ <node-list>
+<node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>Add</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>Add</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>b</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>f</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Add</FuncName>
+     <PyFunc><![CDATA[import time ]]></PyFunc>
+     <PyFunc><![CDATA[def Add(a,b) :   ]]></PyFunc>
+     <PyFunc><![CDATA[    print "Add will wait 5 seconds" ]]></PyFunc>
+     <PyFunc><![CDATA[    time.sleep(5) ]]></PyFunc>
+     <PyFunc><![CDATA[    print "Add waited" ]]></PyFunc>
+     <PyFunc><![CDATA[    return a+b   ]]></PyFunc>
+     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>18/9/2003 - 17:31:28</creation-date>
+   <lastmodification-date>18/9/2003 - 17:31:28</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>351</x-position>
+   <y-position>77</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>Sub</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>Sub</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>b</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>f</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Sub</FuncName>
+     <PyFunc><![CDATA[def Sub(a,b) : ]]></PyFunc>
+     <PyFunc><![CDATA[    return a-b ]]></PyFunc>
+     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>18/9/2003 - 17:31:28</creation-date>
+   <lastmodification-date>18/9/2003 - 17:31:28</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>86</x-position>
+   <y-position>333</y-position>  </node>
+  <node>
+<component-name>?</component-name>
+   <interface-name>?</interface-name>
+   <node-name>Mul</node-name>
+   <kind>3</kind>
+   <coupled-node>?</coupled-node>
+   <service>
+<service-name>Mul</service-name>
+    <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>a</inParameter-name>     </inParameter>
+     <inParameter>
+<inParameter-type>long</inParameter-type>
+      <inParameter-name>b</inParameter-name>     </inParameter>    </inParameter-list>
+    <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+      <outParameter-name>Result</outParameter-name>     </outParameter>    </outParameter-list>   </service>
+   <Parameter-list/>
+   <PyFunction-list>
+<PyFunction>
+<FuncName>Mul</FuncName>
+     <PyFunc><![CDATA[import time  ]]></PyFunc>
+     <PyFunc><![CDATA[def Mul(a,b) :    ]]></PyFunc>
+     <PyFunc><![CDATA[    print "Mul will wait 5 seconds"  ]]></PyFunc>
+     <PyFunc><![CDATA[    time.sleep(5)  ]]></PyFunc>
+     <PyFunc><![CDATA[    print "Mul waited"  ]]></PyFunc>
+     <PyFunc><![CDATA[    return a*b  ]]></PyFunc>    </PyFunction>   </PyFunction-list>
+   <creation-date>18/9/2003 - 17:31:28</creation-date>
+   <lastmodification-date>18/9/2003 - 17:31:28</lastmodification-date>
+   <editor-release>1.04</editor-release>
+   <author>?</author>
+   <container>?</container>
+   <comment>Python function</comment>
+   <x-position>616</x-position>
+   <y-position>247</y-position>  </node> </node-list>
+ <link-list>
+<link>
+<fromnode-name>Sub</fromnode-name>
+   <fromserviceparameter-name>f</fromserviceparameter-name>
+   <tonode-name>Mul</tonode-name>
+   <toserviceparameter-name>b</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>583</x>
+     <y>357</y>    </coord>
+    <coord>
+<x>583</x>
+     <y>413</y>    </coord>
+    <coord>
+<x>282</x>
+     <y>413</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>Sub</fromnode-name>
+   <fromserviceparameter-name>f</fromserviceparameter-name>
+   <tonode-name>Add</tonode-name>
+   <toserviceparameter-name>b</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>282</x>
+     <y>186</y>    </coord>
+    <coord>
+<x>283</x>
+     <y>413</y>    </coord>   </coord-list>  </link>
+  <link>
+<fromnode-name>Sub</fromnode-name>
+   <fromserviceparameter-name>f</fromserviceparameter-name>
+   <tonode-name>Mul</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <coord-list>
+<coord>
+<x>583</x>
+     <y>328</y>    </coord>
+    <coord>
+<x>583</x>
+     <y>412</y>    </coord>   </coord-list>  </link> </link-list>
+ <data-list>
+<data>
+<fromnode-name>GraphInLinesParall</fromnode-name>
+   <fromserviceparameter-name>Add\a</fromserviceparameter-name>
+   <tonode-name>Add</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>1</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphInLinesParall</fromnode-name>
+   <fromserviceparameter-name>Sub\a</fromserviceparameter-name>
+   <tonode-name>Sub</tonode-name>
+   <toserviceparameter-name>a</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>3</value>   </data-value>
+   <coord-list/>  </data>
+  <data>
+<fromnode-name>GraphInLinesParall</fromnode-name>
+   <fromserviceparameter-name>Sub\b</fromserviceparameter-name>
+   <tonode-name>Sub</tonode-name>
+   <toserviceparameter-name>b</toserviceparameter-name>
+   <data-value>
+<value-type>3</value-type>
+    <value>4</value>   </data-value>
+   <coord-list/>  </data> </data-list></dataflow>