3 Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
5 Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
6 CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2.1 of the License, or (at your option) any later version.
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public
19 License along with this library; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
29 <component-name>?</component-name>
30 <interface-name>?</interface-name>
31 <node-name>GraphConvertObjRefCheckNotCompatible</node-name>
33 <coupled-node>?</coupled-node>
35 <service-name>GraphConvertObjRefCheckNotCompatible</service-name>
38 <inParameter-type>string</inParameter-type>
39 <inParameter-name>SyrComponent__aContainer</inParameter-name> </inParameter>
41 <inParameter-type>string</inParameter-type>
42 <inParameter-name>SyrComponent__aComponent</inParameter-name> </inParameter> </inParameter-list>
45 <outParameter-type>string</outParameter-type>
46 <outParameter-name>MiscTypes__OutString</outParameter-name> </outParameter>
48 <outParameter-type>boolean</outParameter-type>
49 <outParameter-name>MiscTypes__OutBool</outParameter-name> </outParameter>
51 <outParameter-type>char</outParameter-type>
52 <outParameter-name>MiscTypes__OutChar</outParameter-name> </outParameter>
54 <outParameter-type>short</outParameter-type>
55 <outParameter-name>MiscTypes__OutShort</outParameter-name> </outParameter>
57 <outParameter-type>long</outParameter-type>
58 <outParameter-name>MiscTypes__OutLong</outParameter-name> </outParameter>
60 <outParameter-type>float</outParameter-type>
61 <outParameter-name>MiscTypes__OutFloat</outParameter-name> </outParameter>
63 <outParameter-type>double</outParameter-type>
64 <outParameter-name>MiscTypes__OutDouble</outParameter-name> </outParameter> </outParameter-list> </service>
67 <creation-date>30/7/2003 - 14:23:52</creation-date>
68 <lastmodification-date>20/6/2005 - 11:34:50</lastmodification-date>
69 <editor-release>1.04</editor-release>
71 <container>?</container>
72 <comment>Check conversions of ObjRef</comment>
73 <x-position>0</x-position>
74 <y-position>0</y-position> </node> </info-list>
77 <component-name>?</component-name>
78 <interface-name>?</interface-name>
79 <node-name>SyrComponent</node-name>
81 <coupled-node>?</coupled-node>
83 <service-name>SyrComponent</service-name>
86 <inParameter-type>string</inParameter-type>
87 <inParameter-name>aContainer</inParameter-name> </inParameter>
89 <inParameter-type>string</inParameter-type>
90 <inParameter-name>aComponent</inParameter-name> </inParameter> </inParameter-list>
93 <outParameter-type>objref</outParameter-type>
94 <outParameter-name>anObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
98 <FuncName>SyrComponent</FuncName>
99 <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
100 <PyFunc><![CDATA[def SyrComponent( aContainer , aComponent ) : ]]></PyFunc>
101 <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
102 <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
103 <PyFunc><![CDATA[ print "SyrComponent orb",orb ]]></PyFunc>
104 <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
105 <PyFunc><![CDATA[ print "SyrComponent lcc",lcc ]]></PyFunc>
106 <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,")" ]]></PyFunc>
107 <PyFunc><![CDATA[ ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ]]></PyFunc>
108 <PyFunc><![CDATA[ print "SyrComponent(",aContainer,",",aComponent,") --> ",ComponentRef ]]></PyFunc>
109 <PyFunc><![CDATA[ return ComponentRef ]]></PyFunc>
110 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
111 <creation-date>20/6/2005 - 11:31:43</creation-date>
112 <lastmodification-date>20/6/2005 - 11:31:43</lastmodification-date>
113 <editor-release>1.04</editor-release>
115 <container>?</container>
116 <comment>InLine Node</comment>
117 <x-position>14</x-position>
118 <y-position>114</y-position> </node>
120 <component-name>TypesCheck</component-name>
121 <interface-name>TypesCheck</interface-name>
122 <node-name>MiscTypes</node-name>
124 <coupled-node>?</coupled-node>
126 <service-name>MiscTypes</service-name>
129 <inParameter-type>string</inParameter-type>
130 <inParameter-name>InString</inParameter-name> </inParameter>
132 <inParameter-type>boolean</inParameter-type>
133 <inParameter-name>InBool</inParameter-name> </inParameter>
135 <inParameter-type>char</inParameter-type>
136 <inParameter-name>InChar</inParameter-name> </inParameter>
138 <inParameter-type>short</inParameter-type>
139 <inParameter-name>InShort</inParameter-name> </inParameter>
141 <inParameter-type>long</inParameter-type>
142 <inParameter-name>InLong</inParameter-name> </inParameter>
144 <inParameter-type>float</inParameter-type>
145 <inParameter-name>InFloat</inParameter-name> </inParameter>
147 <inParameter-type>double</inParameter-type>
148 <inParameter-name>InDouble</inParameter-name> </inParameter>
150 <inParameter-type>SuperVisionTest::Adder</inParameter-type>
151 <inParameter-name>InObjRef</inParameter-name> </inParameter> </inParameter-list>
154 <outParameter-type>string</outParameter-type>
155 <outParameter-name>OutString</outParameter-name> </outParameter>
157 <outParameter-type>boolean</outParameter-type>
158 <outParameter-name>OutBool</outParameter-name> </outParameter>
160 <outParameter-type>char</outParameter-type>
161 <outParameter-name>OutChar</outParameter-name> </outParameter>
163 <outParameter-type>short</outParameter-type>
164 <outParameter-name>OutShort</outParameter-name> </outParameter>
166 <outParameter-type>long</outParameter-type>
167 <outParameter-name>OutLong</outParameter-name> </outParameter>
169 <outParameter-type>float</outParameter-type>
170 <outParameter-name>OutFloat</outParameter-name> </outParameter>
172 <outParameter-type>double</outParameter-type>
173 <outParameter-name>OutDouble</outParameter-name> </outParameter>
175 <outParameter-type>SuperVisionTest::Adder</outParameter-type>
176 <outParameter-name>OutObjRef</outParameter-name> </outParameter> </outParameter-list> </service>
179 <creation-date>20/6/2005 - 11:31:43</creation-date>
180 <lastmodification-date>20/6/2005 - 11:31:43</lastmodification-date>
181 <editor-release>1.05</editor-release>
183 <container>localhost/FactoryServer</container>
184 <comment>MiscTypes from TypesCheck</comment>
185 <x-position>284</x-position>
186 <y-position>28</y-position> </node>
188 <component-name>?</component-name>
189 <interface-name>?</interface-name>
190 <node-name>ObjRefToInline</node-name>
192 <coupled-node>?</coupled-node>
194 <service-name>ObjRefToInline</service-name>
197 <inParameter-type>int</inParameter-type>
198 <inParameter-name>toInLine</inParameter-name> </inParameter> </inParameter-list>
199 <outParameter-list/> </service>
203 <FuncName>ObjRefToInline</FuncName>
204 <PyFunc><![CDATA[def ObjRefToInline(objRef): ]]></PyFunc>
205 <PyFunc><![CDATA[ return objRef ]]></PyFunc> </PyFunction> </PyFunction-list>
206 <creation-date>20/6/2005 - 11:31:43</creation-date>
207 <lastmodification-date>20/6/2005 - 11:31:43</lastmodification-date>
208 <editor-release>2.0</editor-release>
210 <container>?</container>
211 <comment>Compute Node</comment>
212 <x-position>496</x-position>
213 <y-position>168</y-position> </node> </node-list>
216 <fromnode-name>SyrComponent</fromnode-name>
217 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
218 <tonode-name>MiscTypes</tonode-name>
219 <toserviceparameter-name>InObjRef</toserviceparameter-name>
220 <coord-list/> </link>
222 <fromnode-name>SyrComponent</fromnode-name>
223 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
224 <tonode-name>MiscTypes</tonode-name>
225 <toserviceparameter-name>InString</toserviceparameter-name>
226 <coord-list/> </link>
228 <fromnode-name>SyrComponent</fromnode-name>
229 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
230 <tonode-name>MiscTypes</tonode-name>
231 <toserviceparameter-name>InBool</toserviceparameter-name>
232 <coord-list/> </link>
234 <fromnode-name>SyrComponent</fromnode-name>
235 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
236 <tonode-name>MiscTypes</tonode-name>
237 <toserviceparameter-name>InChar</toserviceparameter-name>
238 <coord-list/> </link>
240 <fromnode-name>SyrComponent</fromnode-name>
241 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
242 <tonode-name>MiscTypes</tonode-name>
243 <toserviceparameter-name>InShort</toserviceparameter-name>
244 <coord-list/> </link>
246 <fromnode-name>SyrComponent</fromnode-name>
247 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
248 <tonode-name>MiscTypes</tonode-name>
249 <toserviceparameter-name>InLong</toserviceparameter-name>
250 <coord-list/> </link>
252 <fromnode-name>SyrComponent</fromnode-name>
253 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
254 <tonode-name>MiscTypes</tonode-name>
255 <toserviceparameter-name>InFloat</toserviceparameter-name>
256 <coord-list/> </link>
258 <fromnode-name>SyrComponent</fromnode-name>
259 <fromserviceparameter-name>anObjRef</fromserviceparameter-name>
260 <tonode-name>MiscTypes</tonode-name>
261 <toserviceparameter-name>InDouble</toserviceparameter-name>
262 <coord-list/> </link>
264 <fromnode-name>MiscTypes</fromnode-name>
265 <fromserviceparameter-name>OutObjRef</fromserviceparameter-name>
266 <tonode-name>ObjRefToInline</tonode-name>
267 <toserviceparameter-name>toInLine</toserviceparameter-name>
268 <coord-list/> </link> </link-list>
271 <fromnode-name>GraphConvertObjRefCheckNotCompatible</fromnode-name>
272 <fromserviceparameter-name>SyrComponent__aContainer</fromserviceparameter-name>
273 <tonode-name>SyrComponent</tonode-name>
274 <toserviceparameter-name>aContainer</toserviceparameter-name>
276 <value-type>18</value-type>
277 <value><![CDATA[FactoryServerPy]]></value> </data-value>
278 <coord-list/> </data>
280 <fromnode-name>GraphConvertObjRefCheckNotCompatible</fromnode-name>
281 <fromserviceparameter-name>SyrComponent__aComponent</fromserviceparameter-name>
282 <tonode-name>SyrComponent</tonode-name>
283 <toserviceparameter-name>aComponent</toserviceparameter-name>
285 <value-type>18</value-type>
286 <value><![CDATA[SyrControlComponent]]></value> </data-value>
287 <coord-list/> </data> </data-list> </dataflow></supergraph>