Salome HOME
Revert "Synchronize adm files"
[modules/kernel.git] / src / TestMPIContainer / TestMPIComponentEngine.hxx
1 // Copyright (C) 2007-2014  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, or (at your option) any later version.
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 //=============================================================================
24 // File      : TestMPIComponentEngine.hxx
25 // Created   : mer jui 4 12:28:30 CEST 2003
26 // Author    : Bernard SECHER, CEA
27 // Project   : SALOME
28 // $Header$
29 //=============================================================================
30 //
31 #ifndef _SALOME_TESTCOMPONENT_I_HXX_
32 #define _SALOME_TESTCOMPONENT_I_HXX_
33
34 #include <iostream>
35 #include <SALOMEconfig.h>
36 #include CORBA_SERVER_HEADER(SALOME_TestMPIComponent)
37 #include "SALOME_Component_i.hxx"
38 #include "MPIObject_i.hxx"
39
40 class TestMPIComponentEngine: 
41   public POA_Engines::TestMPIComponent,
42   public Engines_Component_i, public MPIObject_i
43 {
44 public:
45   TestMPIComponentEngine();
46   TestMPIComponentEngine(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