Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / src / MEDCouplingCorba / Test / MEDCouplingMeshFieldFactoryComponentServ.hxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D
2 //
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.
7 //
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.
12 //
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
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef __MEDCOUPLINGCORBAFIELDFACTORYCOMPONENTSERV_HXX__
21 #define __MEDCOUPLINGCORBAFIELDFACTORYCOMPONENTSERV_HXX__
22
23 #include <cppunit/extensions/HelperMacros.h>
24 #include "SALOMEconfig.h"
25 #ifdef WNT
26 #define NOMINMAX
27 #endif
28 #include CORBA_SERVER_HEADER(MEDCouplingCorbaServantTest)
29
30 namespace ParaMEDMEM
31 {
32   class MEDCouplingUMesh;
33 }
34
35 namespace SALOME_TEST
36 {
37   class MEDCouplingMeshFieldFactoryComponent : public POA_SALOME_TEST::MEDCouplingMeshFieldFactory
38   {
39   public:
40     MEDCouplingMeshFieldFactoryComponent(CORBA::ORB_ptr orb);
41     void destroyFactory();
42     void shutdownOrb();
43     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get1DMesh();
44     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get2DMesh();
45     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get3DMesh();
46     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get3DSurfMesh();
47     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get0DMesh();
48     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr getM1DMesh();
49     SALOME_MED::MEDCouplingExtrudedMeshCorbaInterface_ptr getExtrudedMesh();
50     SALOME_MED::MEDCouplingCMeshCorbaInterface_ptr getCMesh();
51     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn2DNT();
52     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldNodeScalarOn2DNT();
53     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn3DNT();
54     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn3DSurfWT();
55     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn3DSurfCOTI();
56     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn2DLT();
57     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldGaussPt2DWT();
58     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldGaussPtNE2DWT();
59     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldVectorOnExtrudedWT();
60     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldVectorOnCMeshWT();
61     SALOME_MED::MEDCouplingFieldTemplateCorbaInterface_ptr getFieldTemplateCellOn2D();
62     SALOME_MED::MEDCouplingFieldTemplateCorbaInterface_ptr getFieldTemplateNodeOn2D();
63     SALOME_MED::MEDCouplingFieldTemplateCorbaInterface_ptr getFieldTemplateGaussPtOn2D();
64     SALOME_MED::MEDCouplingFieldTemplateCorbaInterface_ptr getFieldTemplateGaussNEOn2D();
65     SALOME_MED::MEDCouplingMultiFieldsCorbaInterface_ptr getMultiFields1();
66     SALOME_MED::DataArrayDoubleCorbaInterface_ptr getArrayDouble1();
67     SALOME_MED::DataArrayDoubleCorbaInterface_ptr getArrayDouble2();
68     SALOME_MED::DataArrayDoubleCorbaInterface_ptr getArrayDouble3();
69     SALOME_MED::DataArrayIntCorbaInterface_ptr getArrayInt1();
70     SALOME_MED::DataArrayIntCorbaInterface_ptr getArrayInt2();
71     SALOME_MED::DataArrayIntCorbaInterface_ptr getArrayInt3();
72     SALOME_MED::MEDCouplingFieldOverTimeCorbaInterface_ptr getMultiFields2();
73   private:
74     CORBA::ORB_ptr _orb;
75   };
76 }
77
78 #endif