Salome HOME
ADD a end user module (services.py) to help the manipulation of SALOME KERNEL service...
[modules/kernel.git] / src / ParallelContainer / SALOME_ParallelComponent_i.hxx
index 530a66d881555bb9215aa75269d497efbba51f0b..ddc5ab8894a08b97f61f15daa36cd2f2a2b20494 100644 (file)
@@ -1,24 +1,25 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-//  This library is free software; you can redistribute it and/or
-//  modify it under the terms of the GNU Lesser General Public
-//  License as published by the Free Software Foundation; either
-//  version 2.1 of the License.
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  SALOME_ParallelComponent : implementation of container and engine for Parallel Kernel
 //  File   : SALOME_ParallelComponent_i.hxx
 //  Author : AndrĂ© RIBES, EDF
@@ -62,12 +63,12 @@ class CONTAINER_EXPORT Engines_Parallel_Component_i:
 {
 public:
   Engines_Parallel_Component_i(CORBA::ORB_ptr orb, char * ior, int rank,
-                              PortableServer::POA_ptr poa,
-                              PortableServer::ObjectId * contId, 
-                              const char *instanceName, 
-                              const char *interfaceName,
-                              bool notif = false,
-                              bool regist = true);
+                               PortableServer::POA_ptr poa,
+                               PortableServer::ObjectId * contId, 
+                               const char *instanceName, 
+                               const char *interfaceName,
+                               bool notif = false,
+                               bool regist = true);
 
   virtual ~Engines_Parallel_Component_i();
 
@@ -93,22 +94,23 @@ public:
   CORBA::Long CpuUsed_impl() ;
 
  virtual Engines::TMPFile* DumpPython(CORBA::Object_ptr theStudy,
-                                     CORBA::Boolean isPublished,
-                                     CORBA::Boolean& isValidScript);
+                                      CORBA::Boolean isPublished,
+                                      CORBA::Boolean isMultiFile,
+                                      CORBA::Boolean& isValidScript);
 
  // CORBA operations for Salome_file
  virtual Engines::Salome_file_ptr getInputFileToService(const char* service_name, 
-                                                       const char* Salome_file_name);
+                                                        const char* Salome_file_name);
  virtual Engines::Salome_file_ptr getOutputFileToService(const char* service_name, 
-                                                        const char* Salome_file_name);
+                                                         const char* Salome_file_name);
 
  virtual void checkInputFilesToService(const char* service_name);
  virtual Engines::Salome_file_ptr setInputFileToService(const char* service_name, 
-                                                       const char* Salome_file_name);
+                                                        const char* Salome_file_name);
 
  virtual void checkOutputFilesToService(const char* service_name);
  virtual Engines::Salome_file_ptr setOutputFileToService(const char* service_name, 
-                                                        const char* Salome_file_name);
+                                                         const char* Salome_file_name);
 
  void send_parallel_proxy_object(CORBA::Object_ptr proxy_ref);
 
@@ -140,8 +142,8 @@ public:
   char * get_parallel_proxy_object();
 
   virtual void configureSalome_file(std::string service_name,
-                                   std::string file_port_name,
-                                   Engines::Parallel_Salome_file_proxy_impl * file);
+                                    std::string file_port_name,
+                                    Engines::Parallel_Salome_file_proxy_impl * file);
 
 protected:
   int _studyId; // -1: not initialised; 0: multiStudy; >0: study
@@ -202,7 +204,7 @@ private:
   long      _ThreadCpuUsed ;
   bool      _Executed ;
   bool      _CanceledThread ;
-  bool     _destroyed;
+  bool      _destroyed;
 };
 
 #endif