Salome HOME
the dump state for batch of yacs file is optional
[modules/kernel.git] / src / Launcher / Launcher.hxx
index eeed0d000e357e5973492096d96ac55ebafa64e5..0cc3c16f0c143cce9d6cacba632edeed33971d24 100644 (file)
@@ -62,6 +62,7 @@ public:
   void         launchJob(int job_id);
   const char * getJobState(int job_id);
   void         getJobResults(int job_id, std::string directory);
+  bool         getJobDumpState(int job_id, std::string directory);
   void         removeJob(int job_id);
 
   // Useful methods
@@ -73,8 +74,12 @@ public:
   // Lib methods
   void SetResourcesManager( ResourcesManager_cpp* rm ) {_ResManager = rm;}
 
+  // Used by SALOME_Launcher
+  ResourcesManager_cpp *_ResManager;
 protected:
 
+  virtual void notifyObservers(const std::string & event_name, const std::string & event_data) {}
+
   // Methods used by user interface methods
 #ifdef WITH_LIBBATCH
   Batch::BatchManager_eClient *FactoryBatchManager(ParserResourcesType& params);
@@ -82,7 +87,6 @@ protected:
 #endif
   ParserLauncherType ParseXmlFile(std::string xmlExecuteFile);
 
-  ResourcesManager_cpp *_ResManager;
   std::map <int, Launcher::Job *> _launcher_job_map;  
   int _job_cpt; // job number counter
   pthread_mutex_t * _job_cpt_mutex; // mutex for job counter