Back to index

salome-med  6.5.0
MEDCouplingMeshFieldFactoryComponentServ.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef __MEDCOUPLINGCORBAFIELDFACTORYCOMPONENTSERV_HXX__
00021 #define __MEDCOUPLINGCORBAFIELDFACTORYCOMPONENTSERV_HXX__
00022 
00023 #include <cppunit/extensions/HelperMacros.h>
00024 #include "SALOMEconfig.h"
00025 #ifdef WNT
00026 #define NOMINMAX
00027 #endif
00028 #include CORBA_SERVER_HEADER(MEDCouplingCorbaServantTest)
00029 
00030 namespace ParaMEDMEM
00031 {
00032   class MEDCouplingUMesh;
00033 }
00034 
00035 namespace SALOME_TEST
00036 {
00037   class MEDCouplingMeshFieldFactoryComponent : public POA_SALOME_TEST::MEDCouplingMeshFieldFactory
00038   {
00039   public:
00040     MEDCouplingMeshFieldFactoryComponent(CORBA::ORB_ptr orb);
00041     void destroyFactory();
00042     void shutdownOrb();
00043     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get1DMesh();
00044     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get2DMesh();
00045     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get3DMesh();
00046     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get3DSurfMesh();
00047     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr get0DMesh();
00048     SALOME_MED::MEDCouplingUMeshCorbaInterface_ptr getM1DMesh();
00049     SALOME_MED::MEDCouplingExtrudedMeshCorbaInterface_ptr getExtrudedMesh();
00050     SALOME_MED::MEDCouplingCMeshCorbaInterface_ptr getCMesh();
00051     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn2DNT();
00052     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldNodeScalarOn2DNT();
00053     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn3DNT();
00054     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn3DSurfWT();
00055     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn3DSurfCOTI();
00056     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldScalarOn2DLT();
00057     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldGaussPt2DWT();
00058     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldGaussPtNE2DWT();
00059     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldVectorOnExtrudedWT();
00060     SALOME_MED::MEDCouplingFieldDoubleCorbaInterface_ptr getFieldVectorOnCMeshWT();
00061     SALOME_MED::MEDCouplingFieldTemplateCorbaInterface_ptr getFieldTemplateCellOn2D();
00062     SALOME_MED::MEDCouplingFieldTemplateCorbaInterface_ptr getFieldTemplateNodeOn2D();
00063     SALOME_MED::MEDCouplingFieldTemplateCorbaInterface_ptr getFieldTemplateGaussPtOn2D();
00064     SALOME_MED::MEDCouplingFieldTemplateCorbaInterface_ptr getFieldTemplateGaussNEOn2D();
00065     SALOME_MED::MEDCouplingMultiFieldsCorbaInterface_ptr getMultiFields1();
00066     SALOME_MED::DataArrayDoubleCorbaInterface_ptr getArrayDouble1();
00067     SALOME_MED::DataArrayDoubleCorbaInterface_ptr getArrayDouble2();
00068     SALOME_MED::DataArrayDoubleCorbaInterface_ptr getArrayDouble3();
00069     SALOME_MED::DataArrayIntCorbaInterface_ptr getArrayInt1();
00070     SALOME_MED::DataArrayIntCorbaInterface_ptr getArrayInt2();
00071     SALOME_MED::DataArrayIntCorbaInterface_ptr getArrayInt3();
00072     SALOME_MED::MEDCouplingFieldOverTimeCorbaInterface_ptr getMultiFields2();
00073   private:
00074     CORBA::ORB_ptr _orb;
00075   };
00076 }
00077 
00078 #endif