Salome HOME
Removed some warnings
[tools/libbatch.git] / src / SGE / Batch_BatchManager_eSGE.cxx
index a7f9d3fc5813484508803e964d29ed017be47205..4f0d305ce6cc6699be632a204d6d649fc1ad1640 100644 (file)
@@ -54,9 +54,10 @@ using namespace std;
 namespace Batch {
 
   BatchManager_eSGE::BatchManager_eSGE(const FactBatchManager * parent, const char * host,
+                                       const char * username,
                                        CommunicationProtocolType protocolType, const char * mpiImpl)
-  : BatchManager_eClient(parent, host, protocolType, mpiImpl),
-    BatchManager(parent, host)
+  : BatchManager(parent, host),
+    BatchManager_eClient(parent, host, username, protocolType, mpiImpl)
   {
     // Nothing to do
   }
@@ -120,6 +121,13 @@ namespace Batch {
     return id;
   }
 
+  // Ce manager permet de faire de la reprise
+  const Batch::JobId
+  BatchManager_eSGE::addJob(const Batch::Job & job, const std::string reference)
+  {
+    return JobId(this, reference);
+  }
+
   // Methode pour le controle des jobs : retire un job du gestionnaire
   void BatchManager_eSGE::deleteJob(const JobId & jobid)
   {