]> SALOME platform Git repositories - modules/kernel.git/blob - src/ParallelContainer/SALOME_ParallelContainerProxy_i.cxx
Salome HOME
dfdcab72d41b82c36a22e71fea947808fabb4a2c
[modules/kernel.git] / src / ParallelContainer / SALOME_ParallelContainerProxy_i.cxx
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 //  SALOME_ParallelContainerProxy : implementation of container and engine for Parallel Kernel
23 //  File   : SALOME_ParallelContainerProxy_i.cxx
24 //  Author : André RIBES, EDF
25 //
26 #include "SALOME_ParallelContainerProxy_i.hxx"
27
28 Container_proxy_impl_final::Container_proxy_impl_final(CORBA::ORB_ptr orb, 
29                                                        paco_fabrique_thread * fab_thread, 
30                                                        bool is_a_return_proxy) :
31   Engines::Container_proxy_impl(orb, fab_thread, is_a_return_proxy),
32   InterfaceManager_impl(orb, fab_thread, is_a_return_proxy)
33 {}
34
35 Container_proxy_impl_final:: ~Container_proxy_impl_final() {}
36
37 void
38 Container_proxy_impl_final::Shutdown()
39 {
40   INFOS("Shutdown Parallel Proxy");
41   if(!CORBA::is_nil(_orb))
42     _orb->shutdown(0);
43 }
44