
Public Member Functions | |
| def | __init__ (self, orb, poa, containerName) |
| def | instance (self, nameToRegister, componentName) |
| def | load_impl (self, nameToRegister, componentName) |
| def | import_component (self, componentName) |
| def | load_component_Library (self, componentName) |
| def | create_component_instance_env (self, componentName, env) |
| def | create_component_instance (self, componentName) |
| def | find_component_instance (self, registeredName) |
| def | create_python_service_instance (self, CompName) |
| def | remove_impl (self, component) |
| def | finalize_removal (self) |
| def | ping (self) |
| def | getPID (self) |
| def | getNumberOfCPUCores (self) |
| def | loadOfCPUCores (self) |
| def | setPyScriptForCPULoad (self, script) |
| def | resetScriptForCPULoad (self) |
| def | getTotalPhysicalMemory (self) |
| def | getTotalPhysicalMemoryInUse (self) |
| def | getTotalPhysicalMemoryInUseByMe (self) |
| def | getHostName (self) |
| def | Shutdown (self) |
Private Member Functions | |
| def | _get_name (self) |
| def | _get_machineName (self) |
| def | _get_logfilename (self) |
| def | _set_logfilename (self, logfilename) |
| def | _get_workingdir (self) |
Private Attributes | |
| _load_script | |
| _containerName | |
| _numInstance | |
| _machineName | |
| _logfilename | |
Static Private Attributes | |
| _orb = None | |
| _poa = None | |
| int | _numInstance = 0 |
| dictionary | _listInstances_map = {} |
| string | _script = "" |
Implementation without naming_service server
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.__init__ | ( | self, | |
| orb, | |||
| poa, | |||
| containerName | |||
| ) |
Reimplemented in SALOME_ContainerPy.SALOME_ContainerPy_SSL_i, and SALOME_ContainerPy.SALOME_ContainerPy_i.
References Engines_Component_i._orb, SALOME_ComponentPy.SALOME_ComponentPy_Gen_i._orb, SALOME_Container.SALOME_Container_Abstract_i._orb, Abstract_Engines_Container_i._orb, SALOME_ContainerManager._orb, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._orb, SALOME_PyNode.ExchangeContextUsingTCP._orb, ConnectionManager_i._orb, Param_Double_Port_uses_i._orb, SALOME_Launcher._orb, LifeCycleCORBATest._orb, Logger._orb, SALOME_ModuleCatalogImpl._orb, SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy._orb, SALOME_NamingService._orb, SALOME_NamingServicePy.SALOME_NamingServicePy_i._orb, NamingServiceTest._orb, Engines_Parallel_Component_i._orb, Engines_Parallel_Container_i._orb, RegistryService._orb, SALOME_ResourcesManager._orb, SALOMEDS_ChildIterator_i._orb, SALOMEDS_Driver_i._orb, SALOMEDS_DriverFactory_i._orb, SALOMEDS_GenericAttribute_i._orb, SALOMEDS_SComponentIterator_i._orb, SALOMEDS_SObject._orb, SALOMEDS_SObject_i._orb, SALOMEDS_Study._orb, SALOMEDS::Notifier._orb, SALOMEDS::GenObjRegister._orb, SALOMEDS_Study_i._orb, SALOMEDS_StudyBuilder._orb, SALOMEDS_StudyBuilder_i._orb, SALOMEDS_UseCaseBuilder_i._orb, SALOMEDS_UseCaseIterator_i._orb, SALOMEDSTest._orb, SALOMESDS::DataScopeKiller._orb, SALOMESDS::DataScopeServerBase._orb, SALOMESDS::DataServerManager._orb, ORB_INIT._orb, Engines_Component_i._poa, SALOME_ComponentPy.SALOME_ComponentPy_Gen_i._poa, SALOME_Container.SALOME_Container_Abstract_i._poa, Abstract_Engines_Container_i._poa, SALOME_ContainerManager._poa, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._poa, SALOME_PyNode.ContextExchanger_i._poa, SALOME_ExternalServerLauncher._poa, SALOME_Launcher._poa, SALOME_LogManager._poa, Engines_Parallel_Component_i._poa, Engines_Parallel_Container_i._poa, Container_proxy_impl_final._poa, SALOME_ResourcesManager._poa, SALOMESDS::DataScopeServerBase._poa, SALOMESDS::DataServerManager._poa, SALOMESDS::PickelizedPyObjServer._poa, and MESSAGE.
|
private |
|
private |
References SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._machineName, and MESSAGE.
|
private |
References Engines_Component_i._containerName, SALOME_ComponentPy.SALOME_ComponentPy_Gen_i._containerName, SALOME_Container.SALOME_Container_Abstract_i._containerName, Abstract_Engines_Container_i._containerName, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._containerName, SALOME_FileTransferCORBA._containerName, Engines_Parallel_Container_i._containerName, Container_proxy_impl_final._containerName, and MESSAGE.
|
private |
|
private |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_component_instance | ( | self, | |
| componentName | |||
| ) |
References Engines_Component_i._containerName, SALOME_ComponentPy.SALOME_ComponentPy_Gen_i._containerName, SALOME_Container.SALOME_Container_Abstract_i._containerName, Abstract_Engines_Container_i._containerName, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._containerName, SALOME_FileTransferCORBA._containerName, Engines_Parallel_Container_i._containerName, Container_proxy_impl_final._containerName, Abstract_Engines_Container_i._listInstances_map, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._listInstances_map, Engines_Parallel_Container_i._listInstances_map, Abstract_Engines_Container_i._numInstance, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._numInstance, Engines_Parallel_Container_i._numInstance, Container_proxy_impl_final._numInstance, Engines_Component_i._orb, SALOME_ComponentPy.SALOME_ComponentPy_Gen_i._orb, SALOME_Container.SALOME_Container_Abstract_i._orb, Abstract_Engines_Container_i._orb, SALOME_ContainerManager._orb, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._orb, SALOME_PyNode.ExchangeContextUsingTCP._orb, ConnectionManager_i._orb, Param_Double_Port_uses_i._orb, SALOME_Launcher._orb, LifeCycleCORBATest._orb, Logger._orb, SALOME_ModuleCatalogImpl._orb, SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy._orb, SALOME_NamingService._orb, SALOME_NamingServicePy.SALOME_NamingServicePy_i._orb, NamingServiceTest._orb, Engines_Parallel_Component_i._orb, Engines_Parallel_Container_i._orb, RegistryService._orb, SALOME_ResourcesManager._orb, SALOMEDS_ChildIterator_i._orb, SALOMEDS_Driver_i._orb, SALOMEDS_DriverFactory_i._orb, SALOMEDS_GenericAttribute_i._orb, SALOMEDS_SComponentIterator_i._orb, SALOMEDS_SObject._orb, SALOMEDS_SObject_i._orb, SALOMEDS_Study._orb, SALOMEDS::Notifier._orb, SALOMEDS::GenObjRegister._orb, SALOMEDS_Study_i._orb, SALOMEDS_StudyBuilder._orb, SALOMEDS_StudyBuilder_i._orb, SALOMEDS_UseCaseBuilder_i._orb, SALOMEDS_UseCaseIterator_i._orb, SALOMEDSTest._orb, SALOMESDS::DataScopeKiller._orb, SALOMESDS::DataScopeServerBase._orb, SALOMESDS::DataServerManager._orb, ORB_INIT._orb, Engines_Component_i._poa, SALOME_ComponentPy.SALOME_ComponentPy_Gen_i._poa, SALOME_Container.SALOME_Container_Abstract_i._poa, Abstract_Engines_Container_i._poa, SALOME_ContainerManager._poa, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._poa, SALOME_PyNode.ContextExchanger_i._poa, SALOME_ExternalServerLauncher._poa, SALOME_Launcher._poa, SALOME_LogManager._poa, Engines_Parallel_Component_i._poa, Engines_Parallel_Container_i._poa, Container_proxy_impl_final._poa, SALOME_ResourcesManager._poa, SALOMESDS::DataScopeServerBase._poa, SALOMESDS::DataServerManager._poa, SALOMESDS::PickelizedPyObjServer._poa, and MESSAGE.
Referenced by SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_component_instance_env(), and SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_python_service_instance().
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_component_instance_env | ( | self, | |
| componentName, | |||
| env | |||
| ) |
References Abstract_Engines_Container_i.create_component_instance(), Engines_Parallel_Container_i.create_component_instance(), Container_proxy_impl_final.create_component_instance(), Engines::Container.create_component_instance(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_component_instance(), and SALOME_Container.SALOME_Container_Abstract_i.create_component_instance().
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_python_service_instance | ( | self, | |
| CompName | |||
| ) |
References Abstract_Engines_Container_i.create_component_instance(), Engines_Parallel_Container_i.create_component_instance(), Container_proxy_impl_final.create_component_instance(), Engines::Container.create_component_instance(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_component_instance(), and SALOME_Container.SALOME_Container_Abstract_i.create_component_instance().
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.finalize_removal | ( | self | ) |
References MESSAGE.
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.find_component_instance | ( | self, | |
| registeredName | |||
| ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.getHostName | ( | self | ) |
References MESSAGE.
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.getNumberOfCPUCores | ( | self | ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.getPID | ( | self | ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.getTotalPhysicalMemory | ( | self | ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.getTotalPhysicalMemoryInUse | ( | self | ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.getTotalPhysicalMemoryInUseByMe | ( | self | ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.import_component | ( | self, | |
| componentName | |||
| ) |
References MESSAGE, and virtual_salome.verbose.
Referenced by SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.load_component_Library().
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.instance | ( | self, | |
| nameToRegister, | |||
| componentName | |||
| ) |
References MESSAGE.
Referenced by TestLauncherSimple.TestLauncher.tearDown().
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.load_component_Library | ( | self, | |
| componentName | |||
| ) |
References Abstract_Engines_Container_i._numInstance, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._numInstance, Engines_Parallel_Container_i._numInstance, Container_proxy_impl_final._numInstance, SALOME_Container.SALOME_Container_Abstract_i.import_component(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.import_component(), and MESSAGE.
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.load_impl | ( | self, | |
| nameToRegister, | |||
| componentName | |||
| ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.loadOfCPUCores | ( | self | ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.ping | ( | self | ) |
References MESSAGE.
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.remove_impl | ( | self, | |
| component | |||
| ) |
References Abstract_Engines_Container_i._listInstances_map, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._listInstances_map, Engines_Parallel_Container_i._listInstances_map, SALOME_ComponentPy.SALOME_ComponentPy_i._naming_service, SALOME_Container.SALOME_Container_Abstract_i._naming_service, SALOME_ContainerPy.SALOME_ContainerPy_i._naming_service, SALOME_ContainerPy.SALOME_ContainerPy_SSL_i._naming_service, MESSAGE, and pythonpath_reduction.remove().
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.resetScriptForCPULoad | ( | self | ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.setPyScriptForCPULoad | ( | self, | |
| script | |||
| ) |
| def SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.Shutdown | ( | self | ) |
References Engines_Component_i._containerName, SALOME_ComponentPy.SALOME_ComponentPy_Gen_i._containerName, SALOME_Container.SALOME_Container_Abstract_i._containerName, Abstract_Engines_Container_i._containerName, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._containerName, SALOME_FileTransferCORBA._containerName, Engines_Parallel_Container_i._containerName, Container_proxy_impl_final._containerName, SALOME_ComponentPy.SALOME_ComponentPy_i._naming_service, SALOME_Container.SALOME_Container_Abstract_i._naming_service, SALOME_ContainerPy.SALOME_ContainerPy_i._naming_service, SALOME_ContainerPy.SALOME_ContainerPy_SSL_i._naming_service, Engines_Component_i._orb, SALOME_ComponentPy.SALOME_ComponentPy_Gen_i._orb, SALOME_Container.SALOME_Container_Abstract_i._orb, Abstract_Engines_Container_i._orb, SALOME_ContainerManager._orb, SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._orb, SALOME_PyNode.ExchangeContextUsingTCP._orb, ConnectionManager_i._orb, Param_Double_Port_uses_i._orb, SALOME_Launcher._orb, LifeCycleCORBATest._orb, Logger._orb, SALOME_ModuleCatalogImpl._orb, SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy._orb, SALOME_NamingService._orb, SALOME_NamingServicePy.SALOME_NamingServicePy_i._orb, NamingServiceTest._orb, Engines_Parallel_Component_i._orb, Engines_Parallel_Container_i._orb, RegistryService._orb, SALOME_ResourcesManager._orb, SALOMEDS_ChildIterator_i._orb, SALOMEDS_Driver_i._orb, SALOMEDS_DriverFactory_i._orb, SALOMEDS_GenericAttribute_i._orb, SALOMEDS_SComponentIterator_i._orb, SALOMEDS_SObject._orb, SALOMEDS_SObject_i._orb, SALOMEDS_Study._orb, SALOMEDS::Notifier._orb, SALOMEDS::GenObjRegister._orb, SALOMEDS_Study_i._orb, SALOMEDS_StudyBuilder._orb, SALOMEDS_StudyBuilder_i._orb, SALOMEDS_UseCaseBuilder_i._orb, SALOMEDS_UseCaseIterator_i._orb, SALOMEDSTest._orb, SALOMESDS::DataScopeKiller._orb, SALOMESDS::DataScopeServerBase._orb, SALOMESDS::DataServerManager._orb, ORB_INIT._orb, and SALOME.shutdown.
|
private |
Referenced by SALOME_ContainerPy.SALOME_ContainerPy_Gen_i._get_name(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_component_instance(), SALOME_Container.SALOME_Container_Abstract_i.create_component_instance(), SALOME_Container.SALOME_Container_Abstract_i.setLogFileName(), and SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.Shutdown().
|
staticprivate |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
staticprivate |
Referenced by SALOME_Container.SALOME_Container_Abstract_i.__init__(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.__init__(), SALOME_ContainerPy.SALOME_ContainerPy_i.__init__(), SALOME_ComponentPy.SALOME_ComponentPy_Gen_i.__init__(), SALOME_NamingServicePy.SALOME_NamingServicePy_i.__init__(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_component_instance(), SALOME_Container.SALOME_Container_Abstract_i.create_component_instance(), SALOME_Container.SALOME_Container_Abstract_i.create_pynode(), SALOME_Container.SALOME_Container_Abstract_i.create_pyscriptnode(), SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy.Register(), SALOME_Embedded_NamingService_ClientPy.SALOME_Embedded_NamingService_ClientPy.Resolve(), and SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.Shutdown().
|
staticprivate |
Referenced by SALOME_Container.SALOME_Container_Abstract_i.__init__(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.__init__(), SALOME_ComponentPy.SALOME_ComponentPy_Gen_i.__init__(), SALOME_ContainerPy.SALOME_ContainerPy_Gen_i.create_component_instance(), SALOME_Container.SALOME_Container_Abstract_i.create_component_instance(), SALOME_Container.SALOME_Container_Abstract_i.create_pynode(), SALOME_Container.SALOME_Container_Abstract_i.create_pyscriptnode(), SALOME_ComponentPy.SALOME_ComponentPy_Gen_i.destroy(), SALOME_PyNode.ContextExchanger_i.getInputContext(), and SALOME_PyNode.ContextExchanger_i.getPOA().
|
staticprivate |