Salome HOME
Base implementation of Notebook
[modules/kernel.git] / src / TestMPIContainer / TestMPIComponentEngine.hxx
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 //=============================================================================
23 // File      : TestMPIComponentEngine.hxx
24 // Created   : mer jui 4 12:28:30 CEST 2003
25 // Author    : Bernard SECHER, CEA
26 // Project   : SALOME
27 // $Header$
28 //=============================================================================
29 //
30 #ifndef _SALOME_TESTCOMPONENT_I_HXX_
31 #define _SALOME_TESTCOMPONENT_I_HXX_
32
33 #include <iostream>
34 #include <SALOMEconfig.h>
35 #include CORBA_SERVER_HEADER(SALOME_TestMPIComponent)
36 #include "SALOME_Component_i.hxx"
37 #include "MPIObject_i.hxx"
38
39 class TestMPIComponentEngine: 
40   public POA_Engines::TestMPIComponent,
41   public Engines_Component_i, public MPIObject_i
42 {
43 public:
44   TestMPIComponentEngine();
45   TestMPIComponentEngine(int nbproc, int numproc,
46                          CORBA::ORB_ptr orb,
47                          PortableServer::POA_ptr poa,
48                          PortableServer::ObjectId * contId, 
49                          const char *instanceName, 
50                          const char *interfaceName,
51                          bool regist);
52
53   virtual ~TestMPIComponentEngine();
54
55   void Coucou(CORBA::Long L);
56   void SPCoucou(CORBA::Long L);
57   
58 };
59
60 #endif