Salome HOME
Removed includes and libraries of OCC
[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/ or email : webmaster.salome@opencascade.com
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 // $Header$
26 //=============================================================================
27
28 #ifndef _SALOME_TESTCOMPONENT_I_HXX_
29 #define _SALOME_TESTCOMPONENT_I_HXX_
30
31 #include <iostream.h>
32 #include <SALOMEconfig.h>
33 #include CORBA_SERVER_HEADER(SALOME_TestMPIComponent)
34 #include "SALOME_Component_i.hxx"
35 #include "MPIObject_i.hxx"
36
37 class TestMPIComponentEngine: 
38   public POA_Engines::TestMPIComponent,
39   public Engines_Component_i, public MPIObject_i
40 {
41 public:
42   TestMPIComponentEngine();
43   TestMPIComponentEngine(int nbproc, int numproc,
44                          CORBA::ORB_ptr orb,
45                          PortableServer::POA_ptr poa,
46                          PortableServer::ObjectId * contId, 
47                          const char *instanceName, 
48                          const char *interfaceName,
49                          bool regist);
50
51   virtual ~TestMPIComponentEngine();
52
53   void Coucou(CORBA::Long L);
54   void SPCoucou(CORBA::Long L);
55   
56 };
57
58 #endif