From 4b60b274025fc371b625266b3908e731a9461c08 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 4 Jan 2019 16:09:55 +0100 Subject: [PATCH] WIP --- src/Laucher_SWIG/Launcher.i | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/Laucher_SWIG/Launcher.i b/src/Laucher_SWIG/Launcher.i index 99e176e62..bb85fbbcd 100644 --- a/src/Laucher_SWIG/Launcher.i +++ b/src/Laucher_SWIG/Launcher.i @@ -21,6 +21,7 @@ %{ #include "SALOME_ResourcesCatalog_Parser.hxx" +#include "Launcher_Job.hxx" %} class ParserResourcesType @@ -29,4 +30,29 @@ public: ParserResourcesType(); ~ParserResourcesType(); std::string getAccessProtocolTypeStr() const; + std::string getResourceTypeStr() const; + std::string getBatchTypeStr() const; + std::string getMpiImplTypeStr() const; + std::string getClusterInternalProtocolStr() const; + std::string getCanLaunchBatchJobsStr() const; + std::string getCanRunContainersStr() const; + + void setAccessProtocolTypeStr(const std::string & protocolTypeStr); + void setResourceTypeStr(const std::string & resourceTypeStr); + void setBatchTypeStr(const std::string & batchTypeStr); + void setMpiImplTypeStr(const std::string & mpiImplTypeStr); + void setClusterInternalProtocolStr(const std::string & internalProtocolTypeStr); + void setCanLaunchBatchJobsStr(const std::string & canLaunchBatchJobsStr); + void setCanRunContainersStr(const std::string & canRunContainersStr); }; + +namespace Launcher +{ + class Job + { + public: + Job(); + virtual ~Job(); + virtual void update_job() = 0; + }; +} -- 2.39.2