]> SALOME platform Git repositories - modules/jobmanager.git/blobdiff - src/engine/BL_Job.cxx
Salome HOME
You can now add options to the "driver" command of a YACS job.
[modules/jobmanager.git] / src / engine / BL_Job.cxx
index 1f91cec3d34b5ca0a1c87cf46185f5030d555b52..3f073586aefbbd188b67dab086b149d089a49ce7 100644 (file)
@@ -39,6 +39,7 @@ BL::Job::Job()
   _thread_state = BL::Job::NOTHING;
   _salome_launcher_id = -1;
   _dump_yacs_state = 0;
+  _yacs_driver_options = "";
   _ll_jobtype = "";
 
   // Parameters for COORM
@@ -66,6 +67,7 @@ BL::Job::Job(const std::string & name)
   _thread_state = BL::Job::NOTHING;
   _salome_launcher_id = -1;
   _dump_yacs_state = 0;
+  _yacs_driver_options = "";
   _ll_jobtype = "";
 
   // Parameters for COORM
@@ -129,6 +131,18 @@ BL::Job::getDumpYACSState()
   return _dump_yacs_state;
 }
 
+void
+BL::Job::setYacsDriverOptions(const std::string& options)
+{
+  _yacs_driver_options = options;
+}
+
+const std::string&
+BL::Job::getYacsDriverOptions()const
+{
+  return _yacs_driver_options;
+}
+
 void 
 BL::Job::setJobFile(const std::string & job_file)
 {