1 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
22 // File : NPVecComponent.idl
24 #ifndef _SALOME_NPVECCOMPONENT_IDL_
25 #define _SALOME_NPVECCOMPONENT_IDL_
27 #include "SALOME_Component.idl"
28 #include "TypeData.idl"
29 #include "MPIObject.idl"
33 interface PVec : MPIObject
35 readonly attribute DoubleVec vec;
38 void LVec(out unsigned long start, out unsigned long end);
39 DoubleVec nvec(in unsigned long start, in unsigned long end);
42 interface NPVecComponent:Component,MPIObject
47 void SetFileName(in string filename);
49 oneway void ReadDataFromFile(in string id_callback);
50 oneway void SaveDataToFile(in string id_callback);
52 oneway void SPGetData(in string id_callback);
53 oneway void SPPutData(in PVec vec,in string id_callback);