From: Anthony Geay Date: Fri, 4 Jan 2019 15:09:55 +0000 (+0100) Subject: WIP X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4b60b274025fc371b625266b3908e731a9461c08;p=modules%2Fkernel.git WIP --- 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; + }; +}