Salome HOME
- Add a new method for resuming jobs
[tools/libbatch.git] / src / LSF / Batch_BatchManager_eLSF.hxx
index 09a7f1c3bf424aa434d8bf1a192fd1af88deabda..632a044139e859ee33d08ee02bef01741af8ad45 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2010  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
@@ -65,6 +65,7 @@ namespace Batch {
     virtual void setParametre(const JobId & jobid, const Parametre & param) { return alterJob(jobid, param); } // modifie un job en file d'attente
     virtual void setEnvironnement(const JobId & jobid, const Environnement & env) { return alterJob(jobid, env); } // modifie un job en file d'attente
 
+    virtual const Batch::JobId addJob(const Batch::Job & job, const std::string reference); // ajoute un nouveau job sans le soumettre
 
   protected:
     void buildBatchScript(const Job & job);
@@ -72,6 +73,8 @@ namespace Batch {
 
   private:
 
+    std::string getHomeDir(std::string tmpdir);
+
 #ifdef SWIG
   public:
     // Recupere le l'identifiant d'un job deja soumis au BatchManager