4 * Auteur : Ivan DUTKA-MALEN - EDF R&D
5 * Mail : mailto:ivan.dutka-malen@der.edf.fr
6 * Date : Fri Nov 21 09:42:05 2003
11 #ifndef _JOBINFO_LSF_H_
12 #define _JOBINFO_LSF_H_
17 #include <lsf/lsbatch.h>
20 #include "Batch_RunTimeException.hxx"
21 #include "Batch_JobInfo.hxx"
25 class JobInfo_LSF : public JobInfo
28 // Constructeurs et destructeur
29 JobInfo_LSF() : _running(false) {};
31 virtual ~JobInfo_LSF();
33 // Constructeur par recopie
34 JobInfo_LSF(const JobInfo_LSF & jinfo) : JobInfo(jinfo) {};
36 // Teste si un job est present en machine
37 virtual bool isRunning() const;
39 // Methodes pour l'interfacage avec Python (SWIG)
40 // TODO : supprimer ces methodes et transferer leur definitions dans SWIG
41 string __str__() const; // SWIG : affichage en Python
42 string __repr__() const { return __str__(); }; // SWIG : affichage en Python
45 bool _running; // etat du job en machine
48 // Convertit une date HH:MM:SS en secondes
49 long HMStoLong(const string &);