Salome HOME
New Py2YacsDialog using PyEditor_Window.
[modules/yacs.git] / src / evalyfx / YACSEvalResource.hxx
index 0155e9516a30b0c037dab3a82b367601a3c2dbb1..02939e26d16239991f7e69baea1a894d8f0c68e1 100644 (file)
@@ -26,6 +26,7 @@
 #include <map>
 #include <string>
 #include <vector>
+#include <list>
 
 #ifdef WIN32
 #define NOMINMAX
@@ -147,6 +148,8 @@ public:
   void setNbProcs(unsigned int nbProcs) { _nbOfProcs=nbProcs; }
   void setMaxDuration(const std::string& maxDuration) { _maxDuration=maxDuration; }
   std::string getMaxDuration() const { return _maxDuration; }
+  std::list<std::string>& getInFiles(){ return _in_files;}
+  const std::list<std::string>& getInFiles()const { return _in_files;}
   YACSEVALYFX_EXPORT void checkConsistency() const;
 private:
   bool _exclusiveness;
@@ -155,6 +158,7 @@ private:
   std::string _wcKey;
   std::string _maxDuration;
   unsigned int _nbOfProcs;
+  std::list<std::string> _in_files;
 };
 
 class YACSEvalListOfResources : public YACSEvalNonConstLocker
@@ -173,6 +177,8 @@ public:
   YACSEVALYFX_EXPORT const YACSEvalParamsForCluster& getAddParamsForCluster() const { return _paramsInCaseOfCluster; }
   void apply();
   YACSEVALYFX_EXPORT ~YACSEvalListOfResources();
+public:// info only
+  YACSEVALYFX_EXPORT bool isMachineInteractive(const std::string& machine) const;
 public:
   ResourcesManager_cpp *getCatalogEntry() const { return _rm; }
   YACS::ENGINE::DeploymentTree *getDeploymentTree() const { return _dt; }