5 <component-name>?</component-name>
6 <interface-name>?</interface-name>
7 <node-name>GraphObjRef</node-name>
9 <coupled-node>?</coupled-node>
11 <service-name>GraphObjRef</service-name>
14 <inParameter-type>string</inParameter-type>
15 <inParameter-name>SyrComponent\aContainer</inParameter-name> </inParameter>
17 <inParameter-type>string</inParameter-type>
18 <inParameter-name>SyrComponent\aComponent</inParameter-name> </inParameter>
20 <inParameter-type>long</inParameter-type>
21 <inParameter-name>Init\Index</inParameter-name> </inParameter> </inParameter-list>
24 <outParameter-type>objref</outParameter-type>
25 <outParameter-name>EndInit\Addder</outParameter-name> </outParameter>
27 <outParameter-type>objref</outParameter-type>
28 <outParameter-name>EndInit\anObjRef</outParameter-name> </outParameter>
30 <outParameter-type>long</outParameter-type>
31 <outParameter-name>EndInit\Index</outParameter-name> </outParameter> </outParameter-list> </service>
34 <creation-date>1/7/2003 - 19:4:59</creation-date>
35 <lastmodification-date>18/9/2003 - 17:38:33</lastmodification-date>
36 <editor-release>1.04</editor-release>
38 <container>?</container>
40 <x-position>0</x-position>
41 <y-position>0</y-position> </node> </info-list>
44 <component-name>AddComponent</component-name>
45 <interface-name>AddComponent</interface-name>
46 <node-name>Addition</node-name>
48 <coupled-node>?</coupled-node>
50 <service-name>Addition</service-name>
54 <outParameter-type>Adder</outParameter-type>
55 <outParameter-name>Adder</outParameter-name> </outParameter> </outParameter-list> </service>
58 <creation-date>18/9/2003 - 17:38:33</creation-date>
59 <lastmodification-date>18/9/2003 - 17:38:33</lastmodification-date>
60 <editor-release>1.04</editor-release>
62 <container>localhost/AdditionServer</container>
63 <comment>Addition from AddComponent</comment>
64 <x-position>10</x-position>
65 <y-position>15</y-position> </node>
67 <component-name>?</component-name>
68 <interface-name>?</interface-name>
69 <node-name>SyrComponent</node-name>
71 <coupled-node>?</coupled-node>
73 <service-name>SyrComponent</service-name>
76 <inParameter-type>string</inParameter-type>
77 <inParameter-name>aContainer</inParameter-name> </inParameter>
79 <inParameter-type>string</inParameter-type>
80 <inParameter-name>aComponent</inParameter-name> </inParameter> </inParameter-list>
83 <outParameter-type>objref</outParameter-type>
84 <outParameter-name>anObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
88 <FuncName>SyrComponent</FuncName>
89 <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
90 <PyFunc><![CDATA[def SyrComponent( aContainer , aComponent ) : ]]></PyFunc>
91 <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
92 <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
93 <PyFunc><![CDATA[ print "SyrComponent orb",orb ]]></PyFunc>
94 <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
95 <PyFunc><![CDATA[ print "SyrComponent lcc",lcc ]]></PyFunc>
96 <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
97 <PyFunc><![CDATA[ ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ]]></PyFunc>
98 <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ]]></PyFunc>
99 <PyFunc><![CDATA[ return ComponentRef ]]></PyFunc>
100 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
101 <creation-date>18/9/2003 - 17:38:33</creation-date>
102 <lastmodification-date>18/9/2003 - 17:38:33</lastmodification-date>
103 <editor-release>1.04</editor-release>
105 <container>?</container>
106 <comment>Compute Node</comment>
107 <x-position>26</x-position>
108 <y-position>209</y-position> </node>
110 <component-name>?</component-name>
111 <interface-name>?</interface-name>
112 <node-name>Init</node-name>
114 <coupled-node>EndInit</coupled-node>
116 <service-name>Init</service-name>
119 <inParameter-type>objref</inParameter-type>
120 <inParameter-name>Addder</inParameter-name> </inParameter>
122 <inParameter-type>objref</inParameter-type>
123 <inParameter-name>anObjRef</inParameter-name> </inParameter>
125 <inParameter-type>long</inParameter-type>
126 <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
129 <outParameter-type>objref</outParameter-type>
130 <outParameter-name>Addder</outParameter-name> </outParameter>
132 <outParameter-type>objref</outParameter-type>
133 <outParameter-name>anObjRef</outParameter-name> </outParameter>
135 <outParameter-type>long</outParameter-type>
136 <outParameter-name>Index</outParameter-name> </outParameter> </outParameter-list> </service>
140 <FuncName>Init</FuncName>
141 <PyFunc><![CDATA[def Init( Adder , anObjRef , Index ) : ]]></PyFunc>
142 <PyFunc><![CDATA[ return Adder,anObjRef,0 ]]></PyFunc>
143 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
145 <FuncName>More</FuncName>
146 <PyFunc><![CDATA[def More( Adder , anObjRef , Index ) : ]]></PyFunc>
147 <PyFunc><![CDATA[ OutLoop = 0 ]]></PyFunc>
148 <PyFunc><![CDATA[ if 10 > Index : ]]></PyFunc>
149 <PyFunc><![CDATA[ OutLoop = 1 ]]></PyFunc>
150 <PyFunc><![CDATA[ return OutLoop,Adder,anObjRef,Index ]]></PyFunc>
151 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
153 <FuncName>Nextfori</FuncName>
154 <PyFunc><![CDATA[def Nextfori( Adder , anObjRef , Index ) : ]]></PyFunc>
155 <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
156 <PyFunc><![CDATA[ return Adder,anObjRef,Index ]]></PyFunc>
157 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
158 <creation-date>18/9/2003 - 17:38:33</creation-date>
159 <lastmodification-date>18/9/2003 - 17:38:33</lastmodification-date>
160 <editor-release>1.04</editor-release>
162 <container>?</container>
164 <x-position>236</x-position>
165 <y-position>161</y-position> </node>
167 <component-name>?</component-name>
168 <interface-name>?</interface-name>
169 <node-name>EndInit</node-name>
171 <coupled-node>Init</coupled-node>
173 <service-name>EndInit</service-name>
176 <inParameter-type>objref</inParameter-type>
177 <inParameter-name>Addder</inParameter-name> </inParameter>
179 <inParameter-type>objref</inParameter-type>
180 <inParameter-name>anObjRef</inParameter-name> </inParameter>
182 <inParameter-type>long</inParameter-type>
183 <inParameter-name>Index</inParameter-name> </inParameter> </inParameter-list>
186 <outParameter-type>objref</outParameter-type>
187 <outParameter-name>Addder</outParameter-name> </outParameter>
189 <outParameter-type>objref</outParameter-type>
190 <outParameter-name>anObjRef</outParameter-name> </outParameter>
192 <outParameter-type>long</outParameter-type>
193 <outParameter-name>Index</outParameter-name> </outParameter> </outParameter-list> </service>
196 <PyFunction/> </PyFunction-list>
197 <creation-date>18/9/2003 - 17:38:33</creation-date>
198 <lastmodification-date>18/9/2003 - 17:38:33</lastmodification-date>
199 <editor-release>1.04</editor-release>
201 <container>?</container>
203 <x-position>441</x-position>
204 <y-position>177</y-position> </node> </node-list>
207 <fromnode-name>Addition</fromnode-name>
208 <fromserviceparameter-name>Adder</fromserviceparameter-name>
209 <tonode-name>Init</tonode-name>
210 <toserviceparameter-name>Addder</toserviceparameter-name>
217 <y>95</y> </coord> </coord-list> </link>
219 <fromnode-name>SyrComponent</fromnode-name>
220 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
221 <tonode-name>Init</tonode-name>
222 <toserviceparameter-name>anObjRef</toserviceparameter-name>
229 <y>289</y> </coord> </coord-list> </link>
231 <fromnode-name>Init</fromnode-name>
232 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
233 <tonode-name>EndInit</tonode-name>
234 <toserviceparameter-name>DoLoop</toserviceparameter-name>
235 <coord-list/> </link>
237 <fromnode-name>Init</fromnode-name>
238 <fromserviceparameter-name>Addder</fromserviceparameter-name>
239 <tonode-name>EndInit</tonode-name>
240 <toserviceparameter-name>Addder</toserviceparameter-name>
241 <coord-list/> </link>
243 <fromnode-name>Init</fromnode-name>
244 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
245 <tonode-name>EndInit</tonode-name>
246 <toserviceparameter-name>anObjRef</toserviceparameter-name>
247 <coord-list/> </link>
249 <fromnode-name>Init</fromnode-name>
250 <fromserviceparameter-name>Index</fromserviceparameter-name>
251 <tonode-name>EndInit</tonode-name>
252 <toserviceparameter-name>Index</toserviceparameter-name>
253 <coord-list/> </link>
255 <fromnode-name>EndInit</fromnode-name>
256 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
257 <tonode-name>Init</tonode-name>
258 <toserviceparameter-name>InitLoop</toserviceparameter-name>
259 <coord-list/> </link> </link-list>
262 <fromnode-name>GraphObjRef</fromnode-name>
263 <fromserviceparameter-name>SyrComponent\aContainer</fromserviceparameter-name>
264 <tonode-name>SyrComponent</tonode-name>
265 <toserviceparameter-name>aContainer</toserviceparameter-name>
267 <value-type>18</value-type>
268 <value>FactoryServer</value> </data-value>
269 <coord-list/> </data>
271 <fromnode-name>GraphObjRef</fromnode-name>
272 <fromserviceparameter-name>SyrComponent\aComponent</fromserviceparameter-name>
273 <tonode-name>SyrComponent</tonode-name>
274 <toserviceparameter-name>aComponent</toserviceparameter-name>
276 <value-type>18</value-type>
277 <value>SyrComponent</value> </data-value>
278 <coord-list/> </data>
280 <fromnode-name>GraphObjRef</fromnode-name>
281 <fromserviceparameter-name>Init\Index</fromserviceparameter-name>
282 <tonode-name>Init</tonode-name>
283 <toserviceparameter-name>Index</toserviceparameter-name>
285 <value-type>3</value-type>
286 <value>0</value> </data-value>
287 <coord-list/> </data> </data-list></dataflow>