]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Container Manager knows only ResourcesManager and not LoadRate
authorsecher <secher>
Thu, 2 Jun 2005 11:55:13 +0000 (11:55 +0000)
committersecher <secher>
Thu, 2 Jun 2005 11:55:13 +0000 (11:55 +0000)
src/Container/SALOME_ContainerManager.cxx
src/Container/SALOME_ContainerManager.hxx

index 38b104c0e69a8df026be90c2a37d4107839bffd4..efa6f26ecf51215617a11016ede483b783e81987 100644 (file)
@@ -67,7 +67,7 @@ Engines::Container_ptr SALOME_ContainerManager::FindOrStartContainer(const Engin
   // Container doesn't exist try to launch it ...
   MESSAGE("Container doesn't exist try to launch it ...");
   vector<string> vector;
-  string theMachine=_LoadManager.FindBest(possibleComputers);
+  string theMachine=_ResManager->FindBest(possibleComputers);
   string command;
   if(theMachine==GetHostname())
     command=_ResManager->BuildCommandToLaunchLocalContainer(params);
@@ -116,7 +116,7 @@ Engines::MachineList *SALOME_ContainerManager::GetFittingResources(const Engines
 
 char* SALOME_ContainerManager::FindBest(const Engines::MachineList& possibleComputers)
   {
-    string theMachine=_LoadManager.FindBest(possibleComputers);
+    string theMachine=_ResManager->FindBest(possibleComputers);
     return CORBA::string_dup(theMachine.c_str());
   }
 
index d53ba5e8748cd8673d305d8bd489c891b41da5f2..c289425be1785e6c67f767082a7f7f46b15aee92 100644 (file)
@@ -15,7 +15,6 @@ class SALOME_ContainerManager: public POA_Engines::ContainerManager,
                               public PortableServer::RefCountServantBase {
 private:
   SALOME_ResourcesManager *_ResManager;
-  SALOME_LoadRateManager _LoadManager;
   SALOME_NamingService *_NS;
 public:
   SALOME_ContainerManager(CORBA::ORB_ptr orb);