23 #ifndef __LAUNCHER_HXX__
24 #define __LAUNCHER_HXX__
67 void launchJob(
int job_id);
68 const char * getJobState(
int job_id);
69 const char * getAssignedHostnames(
int job_id);
70 void getJobResults(
int job_id, std::string directory);
71 bool getJobDumpState(
int job_id, std::string directory);
72 bool getJobWorkFile(
int job_id, std::string work_file, std::string directory);
73 void stopJob(
int job_id);
74 void removeJob(
int job_id);
79 std::list<int> loadJobs(
const char* jobs_file);
82 void saveJobs(
const char* jobs_file);
85 long createJobWithFile(std::string xmlExecuteFile, std::string clusterName);
86 std::map<int, Launcher::Job *> getJobs();
97 virtual void notifyObservers(
const std::string & event_name,
const std::string & event_data) {}
102 std::map <int, Batch::BatchManager*> _batchmap;