Salome HOME
mise a jour pour gestion des container MPI
[modules/kernel.git] / src / MPILifeCycleCORBA / SALOME_MPILifeCycleCORBA.hxx
diff --git a/src/MPILifeCycleCORBA/SALOME_MPILifeCycleCORBA.hxx b/src/MPILifeCycleCORBA/SALOME_MPILifeCycleCORBA.hxx
new file mode 100644 (file)
index 0000000..dfac110
--- /dev/null
@@ -0,0 +1,45 @@
+//=============================================================================
+// File      : SALOME_MPILifeCycleCORBA.hxx
+// Created   : mar jui 03 14:55:45 CEST 2003
+// Author    : Bernard SECHER, CEA
+// Project   : SALOME
+// Copyright : CEA 2003
+// $Header$
+//=============================================================================
+
+#ifndef _SALOME_MPILIFECYCLECORBA_HXX_
+#define _SALOME_MPILIFECYCLECORBA_HXX_
+
+#include <stdlib.h>
+#include <unistd.h>
+#include <string>
+
+#include <SALOMEconfig.h>
+#include CORBA_CLIENT_HEADER(SALOME_MPIContainer)
+#include "SALOME_LifeCycleCORBA.hxx"
+
+class SALOME_MPILifeCycleCORBA : public SALOME_LifeCycleCORBA
+{
+public:
+  SALOME_MPILifeCycleCORBA();
+  SALOME_MPILifeCycleCORBA(SALOME_NamingService *ns);
+  virtual ~SALOME_MPILifeCycleCORBA();
+
+//   Engines::Component_var FindOrLoad_MPIComponent(const char *MPIcontainerName,
+//                                              const char *MPIcomponentName,
+//                                              const char *implementationPath,
+//                                              const int nbproc);
+  Engines::Component_var FindOrLoad_MPIComponent(const char *MPIcontainerName,
+                                                const char *MPIcomponentName,
+                                                const int nbproc);
+protected:
+  Engines::MPIContainer_var _MPIFactoryServer ;
+
+private:
+  Engines::MPIContainer_var FindOrStartMPIContainer(const string theComputer ,
+                                                   const string theMPIContainerRoot,
+                                                   const int nbproc) ;
+
+} ;
+
+#endif