public:
Launcher_cpp();
- ~Launcher_cpp();
+ virtual ~Launcher_cpp();
// Main interface
void createJob(Launcher::Job * new_job);
const char * getJobState(int job_id);
void getJobResults(int job_id, std::string directory);
bool getJobDumpState(int job_id, std::string directory);
+ void stopJob(int job_id);
void removeJob(int job_id);
// Useful methods
long createJobWithFile(std::string xmlExecuteFile, std::string clusterName);
std::map<int, Launcher::Job *> getJobs();
- void checkFactoryForResource(const std::string & resource_name);
+ void createBatchManagerForJob(Launcher::Job * job);
void addJobDirectlyToMap(Launcher::Job * new_job, const std::string job_reference);
// Lib methods
// Methods used by user interface methods
#ifdef WITH_LIBBATCH
Batch::BatchManager_eClient *FactoryBatchManager(ParserResourcesType& params);
- std::map <std::string,Batch::BatchManager_eClient*> _batchmap;
+ std::map <int, Batch::BatchManager_eClient*> _batchmap;
#endif
ParserLauncherType ParseXmlFile(std::string xmlExecuteFile);