Salome HOME
PR: mergefrom_BSEC_br1_14Mar04
[modules/kernel.git] / src / TestMPIContainer / TestMPIComponentEngine.hxx
1 //=============================================================================
2 // File      : TestMPIComponentEngine.hxx
3 // Created   : mer jui 4 12:28:30 CEST 2003
4 // Author    : Bernard SECHER, CEA
5 // Project   : SALOME
6 // Copyright : CEA 2003
7 // $Header$
8 //=============================================================================
9
10 #ifndef _SALOME_TESTCOMPONENT_I_HXX_
11 #define _SALOME_TESTCOMPONENT_I_HXX_
12
13 #include <iostream.h>
14 #include <SALOMEconfig.h>
15 #include CORBA_SERVER_HEADER(SALOME_TestMPIComponent)
16 #include "SALOME_Component_i.hxx"
17 #include "MPIObject_i.hxx"
18
19 class TestMPIComponentEngine: 
20   public POA_Engines::TestMPIComponent,
21   public Engines_Component_i, public MPIObject_i
22 {
23 public:
24   TestMPIComponentEngine();
25   TestMPIComponentEngine(int nbproc, int numproc,
26                          CORBA::ORB_ptr orb,
27                          PortableServer::POA_ptr poa,
28                          PortableServer::ObjectId * contId, 
29                          const char *instanceName, 
30                          const char *interfaceName,
31                          bool regist);
32
33   virtual ~TestMPIComponentEngine();
34
35   void Coucou(CORBA::Long L);
36   void SPCoucou(CORBA::Long L);
37   
38 };
39
40 #endif