]> SALOME platform Git repositories - modules/kernel.git/blob - src/TestMPIContainer/TestMPIComponentEngine.hxx
Salome HOME
Copyrights update
[modules/kernel.git] / src / TestMPIContainer / TestMPIComponentEngine.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/
19 //
20 //=============================================================================
21 // File      : TestMPIComponentEngine.hxx
22 // Created   : mer jui 4 12:28:30 CEST 2003
23 // Author    : Bernard SECHER, CEA
24 // Project   : SALOME
25 // Copyright : CEA 2003
26 // $Header$
27 //=============================================================================
28
29 #ifndef _SALOME_TESTCOMPONENT_I_HXX_
30 #define _SALOME_TESTCOMPONENT_I_HXX_
31
32 #include <iostream.h>
33 #include <SALOMEconfig.h>
34 #include CORBA_SERVER_HEADER(SALOME_TestMPIComponent)
35 #include "SALOME_Component_i.hxx"
36 #include "MPIObject_i.hxx"
37
38 class TestMPIComponentEngine: 
39   public POA_Engines::TestMPIComponent,
40   public Engines_Component_i, public MPIObject_i
41 {
42 public:
43   TestMPIComponentEngine();
44   TestMPIComponentEngine(int nbproc, int numproc,
45                          CORBA::ORB_ptr orb,
46                          PortableServer::POA_ptr poa,
47                          PortableServer::ObjectId * contId, 
48                          const char *instanceName, 
49                          const char *interfaceName,
50                          bool regist);
51
52   virtual ~TestMPIComponentEngine();
53
54   void Coucou(CORBA::Long L);
55   void SPCoucou(CORBA::Long L);
56   
57 };
58
59 #endif