Salome HOME
c88588c00277c38f5ef1b6536c51bb905245de67
[modules/kernel.git] / src / ParallelContainer / SALOME_ParallelContainerProxy_i.cxx
1 //  SALOME_ParallelContainerProxy : implementation of container and engine for Parallel Kernel
2 //
3 //  Copyright (C) 2008 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 //
22 //  File   : SALOME_ParallelContainerProxy_i.cxx
23 //  Author : AndrĂ© RIBES, EDF
24
25 #include "SALOME_ParallelContainerProxy_i.hxx"
26
27 Container_proxy_impl_final::Container_proxy_impl_final(CORBA::ORB_ptr orb, 
28                                                        paco_fabrique_thread * fab_thread, 
29                                                        bool is_a_return_proxy) :
30   Engines::Container_proxy_impl(orb, fab_thread, is_a_return_proxy),
31   InterfaceManager_impl(orb, fab_thread, is_a_return_proxy)
32 {}
33
34 Container_proxy_impl_final:: ~Container_proxy_impl_final() {}
35
36 void
37 Container_proxy_impl_final::Shutdown()
38 {
39   INFOS("Shutdown Parallel Proxy");
40   if(!CORBA::is_nil(_orb))
41     _orb->shutdown(0);
42 }
43