Salome HOME
Merge branch 'master' into omu/workloadmanager
[modules/yacs.git] / src / engine / Runtime.cxx
index 18e0238d2b1d00680d4256b87495d24f466414cf..fd9e9b05e50f4f4825473a0b751c608364cd84aa 100644 (file)
@@ -58,7 +58,7 @@ const char Runtime::RUNTIME_ENGINE_INTERACTION_IMPL_NAME[]="Neutral";
 
 // singleton creation must be done before by a derived class
 
-Runtime* YACS::ENGINE::getRuntime() throw(Exception)
+Runtime* YACS::ENGINE::getRuntime() 
 {
   if ( !  Runtime::_singleton )
     throw Exception("Runtime is not yet initialized");
@@ -255,6 +255,11 @@ ForEachLoop* Runtime::createForEachLoop(const std::string& name,TypeCode *type)
   return ret;
 }
 
+ForEachLoopDyn* Runtime::createForEachLoopDyn(const std::string& name,TypeCode * type)
+{
+  return new ForEachLoopDyn(name,type);
+}
+
 OptimizerLoop* Runtime::createOptimizerLoop(const std::string& name,const std::string& algLib,const std::string& factoryName,bool algInitOnFile,
                                             const std::string& kind, Proc * procForTypes)
 {