00001 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE 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 // SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses 00021 // File : StdMeshers_UseExisting_1D2D.hxx 00022 // Module : SMESH 00023 // $Header: /home/server/cvs/SMESH/SMESH_SRC/src/StdMeshers_I/StdMeshers_UseExisting_1D2D_i.hxx,v 1.3.20.1.8.1 2011-06-02 05:57:35 vsr Exp $ 00024 // 00025 #ifndef _SMESH_UseExisting_1D2D_I_HXX_ 00026 #define _SMESH_UseExisting_1D2D_I_HXX_ 00027 00028 #include <SALOMEconfig.h> 00029 #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis) 00030 00031 #include "SMESH_1D_Algo_i.hxx" 00032 #include "SMESH_2D_Algo_i.hxx" 00033 #include "StdMeshers_UseExisting_1D2D.hxx" 00034 00035 class SMESH_Gen; 00036 00042 class StdMeshers_UseExisting_1D_i: 00043 public virtual POA_StdMeshers::StdMeshers_UseExisting_1D, 00044 public virtual SMESH_1D_Algo_i 00045 { 00046 public: 00047 // Constructor 00048 StdMeshers_UseExisting_1D_i( PortableServer::POA_ptr thePOA, 00049 int theStudyId, 00050 ::SMESH_Gen* theGenImpl ); 00051 00052 // Destructor 00053 virtual ~StdMeshers_UseExisting_1D_i(); 00054 00055 // Get implementation 00056 ::StdMeshers_UseExisting_1D* GetImpl(); 00057 }; 00058 00059 class StdMeshers_UseExisting_2D_i: 00060 public virtual POA_StdMeshers::StdMeshers_UseExisting_2D, 00061 public virtual SMESH_2D_Algo_i 00062 { 00063 public: 00064 // Constructor 00065 StdMeshers_UseExisting_2D_i( PortableServer::POA_ptr thePOA, 00066 int theStudyId, 00067 ::SMESH_Gen* theGenImpl ); 00068 00069 // Destructor 00070 virtual ~StdMeshers_UseExisting_2D_i(); 00071 00072 // Get implementation 00073 ::StdMeshers_UseExisting_2D* GetImpl(); 00074 }; 00075 00076 00077 #endif