1 // GHS3DPRLPlugin : idl implementation
3 // Copyright (C) 2006 OPEN CASCADE, CEA/DEN, EDF R&D
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License.
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
22 // File : GHS3DPRLPlugin_GHS3DPRL_i.cxx
23 // Author : Christian VAN WAMBEKE (CEA) (from Hexotic plugin Lioka RAZAFINDRAZAKA)
24 // Module : GHS3DPRLPlugin
28 #include "GHS3DPRLPlugin_GHS3DPRL_i.hxx"
29 #include "SMESH_Gen.hxx"
30 #include "GHS3DPRLPlugin_GHS3DPRL.hxx"
32 #include "Utils_CorbaException.hxx"
33 #include "utilities.h"
35 //=============================================================================
37 * GHS3DPRLPlugin_GHS3DPRL_i::GHS3DPRLPlugin_GHS3DPRL_i
41 //=============================================================================
43 GHS3DPRLPlugin_GHS3DPRL_i::GHS3DPRLPlugin_GHS3DPRL_i( PortableServer::POA_ptr thePOA,
45 ::SMESH_Gen* theGenImpl )
46 : SALOME::GenericObj_i( thePOA ),
47 SMESH_Hypothesis_i( thePOA ),
48 SMESH_Algo_i( thePOA ),
49 SMESH_3D_Algo_i( thePOA )
51 MESSAGE( "GHS3DPRLPlugin_GHS3DPRL_i::GHS3DPRLPlugin_GHS3DPRL_i" );
52 myBaseImpl = new ::GHS3DPRLPlugin_GHS3DPRL( theGenImpl->GetANewId(),
57 //=============================================================================
59 * GHS3DPRLPlugin_GHS3DPRL_i::~GHS3DPRLPlugin_GHS3DPRL_i
63 //=============================================================================
65 GHS3DPRLPlugin_GHS3DPRL_i::~GHS3DPRLPlugin_GHS3DPRL_i()
67 MESSAGE( "GHS3DPRLPlugin_GHS3DPRL_i::~GHS3DPRLPlugin_GHS3DPRL_i" );
70 //=============================================================================
72 * GHS3DPRLPlugin_GHS3DPRL_i::GetImpl
76 //=============================================================================
78 ::GHS3DPRLPlugin_GHS3DPRL* GHS3DPRLPlugin_GHS3DPRL_i::GetImpl()
80 MESSAGE( "GHS3DPRLPlugin_GHS3DPRL_i::GetImpl" );
81 return ( ::GHS3DPRLPlugin_GHS3DPRL* )myBaseImpl;