From cfad1c9b602115622dac9ab041feb4d6d794b3fc Mon Sep 17 00:00:00 2001 From: secher Date: Thu, 2 Jun 2005 11:55:13 +0000 Subject: [PATCH] Container Manager knows only ResourcesManager and not LoadRate --- src/Container/SALOME_ContainerManager.cxx | 4 ++-- src/Container/SALOME_ContainerManager.hxx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 38b104c0e..efa6f26ec 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -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 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()); } diff --git a/src/Container/SALOME_ContainerManager.hxx b/src/Container/SALOME_ContainerManager.hxx index d53ba5e87..c289425be 100644 --- a/src/Container/SALOME_ContainerManager.hxx +++ b/src/Container/SALOME_ContainerManager.hxx @@ -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); -- 2.39.2