Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / MPILifeCycleCORBA / SALOME_MPILifeCycleCORBA.hxx
1 //=============================================================================
2 // File      : SALOME_MPILifeCycleCORBA.hxx
3 // Created   : mar jui 03 14:55:45 CEST 2003
4 // Author    : Bernard SECHER, CEA
5 // Project   : SALOME
6 // Copyright : CEA 2003
7 // $Header$
8 //=============================================================================
9
10 #ifndef _SALOME_MPILIFECYCLECORBA_HXX_
11 #define _SALOME_MPILIFECYCLECORBA_HXX_
12
13 #include <stdlib.h>
14 #include <unistd.h>
15 #include <string>
16
17 #include <SALOMEconfig.h>
18 #include CORBA_CLIENT_HEADER(SALOME_MPIContainer)
19 #include "SALOME_LifeCycleCORBA.hxx"
20
21 class SALOME_MPILifeCycleCORBA : public SALOME_LifeCycleCORBA
22 {
23 public:
24   SALOME_MPILifeCycleCORBA();
25   SALOME_MPILifeCycleCORBA(SALOME_NamingService *ns);
26   virtual ~SALOME_MPILifeCycleCORBA();
27
28 //   Engines::Component_var FindOrLoad_MPIComponent(const char *MPIcontainerName,
29 //                                               const char *MPIcomponentName,
30 //                                               const char *implementationPath,
31 //                                               const int nbproc);
32   Engines::Component_var FindOrLoad_MPIComponent(const char *MPIcontainerName,
33                                                  const char *MPIcomponentName,
34                                                  const int nbproc);
35 protected:
36   Engines::MPIContainer_var _MPIFactoryServer ;
37
38 private:
39   Engines::MPIContainer_var FindOrStartMPIContainer(const std::string theComputer ,
40                                                     const std::string theMPIContainerRoot,
41                                                     const int nbproc) ;
42
43 } ;
44
45 #endif