1 // Copyright (C) 2005 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 // File : AdditionComponent.idl
22 // Author : Jean Rahuel
24 #ifndef _ADDITIONCOMPONENT_IDL
25 #define _ADDITIONCOMPONENT_IDL
27 #include "SALOME_Component.idl"
29 module AdditionComponent {
33 interface AdditionInterface : Engines::Component {
34 double Add( in double x , in double y , out double z ) ;
35 double AddWithoutSleep( in double x , in double y , out double z ) ;
36 void Setx( in double x ) ;
37 void Sety( in double y ) ;
39 double AddyTox( in double y ) ;
40 long Sigma( in long n ) ;
44 boolean AdditionObjRef1( out Adder anAdder ) ;
45 void AdditionObjRef2( out boolean FuncValue , out Adder anAdder ) ;
46 boolean AdditionObjRefs( in AdditionInterface AdditionInterface1 ,
47 in AdditionInterface Adder2 ,
48 in AdditionInterface Adder3 ,
49 out AdditionInterface RetAdditionInterface1 ,
50 out AdditionInterface RetAdder2 ,
51 out AdditionInterface RetAdder3 ) ;
54 interface Adder : Engines::Component {
55 double Add( in double x , in double y , out double z ) ;
56 double AddWithoutSleep( in double x , in double y , out double z ) ;
57 double AddAndCompare( in double x , in double y , in Adder anOtherAdder,
59 void SetLastResult( in double z ) ;
60 void LastResult( out double z ) ;
61 Engines::Component LccAdditionInterface( in string aContainer ,
62 in string aComponentName ) ;