2 Copyright (C) 2006-2016 CEA/DEN, EDF R&D
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 <forloop name="b1" nsteps="2">
24 <inline name="node1" >
27 <code>def f(p1):</code>
28 <code> global a</code>
31 <code> return p1</code>
33 <inport name="p1" type="int"/>
34 <outport name="p1" type="int"/>
36 <inline name="node2" >
38 <code>def f(p1):</code>
39 <code> return p1</code>
41 <inport name="p1" type="int"/>
42 <outport name="p1" type="int"/>
44 <service name="node3" >
46 <ref>./xmlrpcprog.py</ref>
48 <inport name="p1" type="int"/>
49 <outport name="p1" type="int"/>
51 <inline name="node4" >
53 <code>def f(p1):</code>
54 <code> return p1</code>
56 <inport name="p1" type="int"/>
57 <outport name="p1" type="int"/>
59 <service name="node5" >
60 <ref>corbaname:rir:#test.my_context/Echo.Object</ref>
61 <method>echoLong</method>
62 <inport name="p1" type="int"/>
63 <outport name="p1" type="int"/>
67 <control> <fromnode>node1</fromnode> <tonode>node2</tonode> </control>
68 <control> <fromnode>node1</fromnode> <tonode>node3</tonode> </control>
69 <control> <fromnode>node3</fromnode> <tonode>node4</tonode> </control>
70 <control> <fromnode>node4</fromnode> <tonode>node5</tonode> </control>
72 <datalink> <fromnode>node1</fromnode><fromport>p1</fromport>
73 <tonode>node3</tonode> <toport>p1</toport> </datalink>
74 <datalink> <fromnode>node1</fromnode><fromport>p1</fromport>
75 <tonode>node2</tonode> <toport>p1</toport> </datalink>
76 <datalink> <fromnode>node3</fromnode><fromport>p1</fromport>
77 <tonode>node4</tonode> <toport>p1</toport> </datalink>
78 <datalink> <fromnode>node4</fromnode><fromport>p1</fromport>
79 <tonode>node5</tonode> <toport>p1</toport> </datalink>
81 <parameter> <tonode>node1</tonode> <toport>p1</toport>
82 <value><int>32356</int> </value>
86 <inline name="node4" >
88 <code>def f(p1):</code>
89 <code> print p1</code>
90 <code> return p1</code>
92 <inport name="p1" type="int"/>
93 <outport name="p1" type="int"/>
95 <control> <fromnode>b1</fromnode> <tonode>node4</tonode> </control>
96 <datalink> <fromnode>b1.b.node5</fromnode><fromport>p1</fromport>
97 <tonode>node4</tonode> <toport>p1</toport> </datalink>