Version: 9.15.0
TestLifeCycleCORBA Namespace Reference

Variables

 args
 
 modules_list
 
 modules_root_dir
 
 clt = orbmodule.client()
 
 myServer = runSalomeOld.LoggerServer(args)
 
 cataServer = runSalomeOld.CatalogServer(args)
 
 myCmServer = runSalomeOld.LauncherServer(args)
 
list command = ['./TestLifeCycleCORBA']
 
 ret = subprocess.call(command)
 
 launcher = clt.waitNS("/SalomeLauncher",Engines.SalomeLauncher)
 
 host = Utils_Identity.getShortHostName()
 
 lcc = LifeCycleCORBA.LifeCycleCORBA()
 
 obj = lcc.FindOrLoad_Component("FactoryServer","SalomeTestComponent")
 
 comp = obj._narrow(Engines.TestComponent)
 
 param = LifeCycleCORBA.ContainerParameters()
 
 hostname
 
 container_name
 
 engine = lcc.FindComponent(param,'SalomeTestComponent')
 
 orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID)
 
 rootContext = obj._narrow(CosNaming.NamingContext)
 
list context_name = []
 
 ContainerManager = rootContext.resolve( context_name )
 
 myContainerparamsCPP = LifeCycleCORBA.ContainerParameters()
 
list computerlistCPP = [host]
 
 containerCPP = ContainerManager.FindOrStartContainer( myContainerparamsCPP , computerlistCPP )
 
dictionary ComponentparamsCPP = {}
 
 compCPP = lcc.FindOrLoad_Component(myContainerparamsCPP,'SalomeTestComponent')
 
 engineCPP = lcc.FindComponent(myContainerparamsCPP,'SalomeTestComponent')
 
 myContainerparamsPy = LifeCycleCORBA.ContainerParameters()
 
list computerlistPy = [host]
 
 containerPy = ContainerManager.FindOrStartContainer( myContainerparamsPy , computerlistPy )
 
 compPy = lcc.FindOrLoad_Component(myContainerparamsPy,'SALOME_TestComponentPy')
 
 enginePy = lcc.FindComponent(myContainerparamsPy,'SALOME_TestComponentPy')
 

Variable Documentation

◆ args

TestLifeCycleCORBA.args

◆ cataServer

TestLifeCycleCORBA.cataServer = runSalomeOld.CatalogServer(args)

◆ clt

TestLifeCycleCORBA.clt = orbmodule.client()

◆ command

list TestLifeCycleCORBA.command = ['./TestLifeCycleCORBA']

◆ comp

TestLifeCycleCORBA.comp = obj._narrow(Engines.TestComponent)

◆ compCPP

TestLifeCycleCORBA.compCPP = lcc.FindOrLoad_Component(myContainerparamsCPP,'SalomeTestComponent')

◆ ComponentparamsCPP

dictionary TestLifeCycleCORBA.ComponentparamsCPP = {}

◆ compPy

TestLifeCycleCORBA.compPy = lcc.FindOrLoad_Component(myContainerparamsPy,'SALOME_TestComponentPy')

◆ computerlistCPP

list TestLifeCycleCORBA.computerlistCPP = [host]

◆ computerlistPy

list TestLifeCycleCORBA.computerlistPy = [host]

◆ container_name

TestLifeCycleCORBA.container_name

◆ containerCPP

TestLifeCycleCORBA.containerCPP = ContainerManager.FindOrStartContainer( myContainerparamsCPP , computerlistCPP )

◆ ContainerManager

TestLifeCycleCORBA.ContainerManager = rootContext.resolve( context_name )

◆ containerPy

TestLifeCycleCORBA.containerPy = ContainerManager.FindOrStartContainer( myContainerparamsPy , computerlistPy )

◆ context_name

◆ engine

TestLifeCycleCORBA.engine = lcc.FindComponent(param,'SalomeTestComponent')

◆ engineCPP

TestLifeCycleCORBA.engineCPP = lcc.FindComponent(myContainerparamsCPP,'SalomeTestComponent')

◆ enginePy

TestLifeCycleCORBA.enginePy = lcc.FindComponent(myContainerparamsPy,'SALOME_TestComponentPy')

◆ host

TestLifeCycleCORBA.host = Utils_Identity.getShortHostName()

Referenced by main().

◆ hostname

TestLifeCycleCORBA.hostname

◆ launcher

TestLifeCycleCORBA.launcher = clt.waitNS("/SalomeLauncher",Engines.SalomeLauncher)

◆ lcc

TestLifeCycleCORBA.lcc = LifeCycleCORBA.LifeCycleCORBA()

◆ modules_list

TestLifeCycleCORBA.modules_list

◆ modules_root_dir

TestLifeCycleCORBA.modules_root_dir

◆ myCmServer

TestLifeCycleCORBA.myCmServer = runSalomeOld.LauncherServer(args)

◆ myContainerparamsCPP

TestLifeCycleCORBA.myContainerparamsCPP = LifeCycleCORBA.ContainerParameters()

◆ myContainerparamsPy

TestLifeCycleCORBA.myContainerparamsPy = LifeCycleCORBA.ContainerParameters()

◆ myServer

TestLifeCycleCORBA.myServer = runSalomeOld.LoggerServer(args)

◆ obj

TestLifeCycleCORBA.obj = lcc.FindOrLoad_Component("FactoryServer","SalomeTestComponent")

◆ orb

TestLifeCycleCORBA.orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID)

◆ param

TestLifeCycleCORBA.param = LifeCycleCORBA.ContainerParameters()

◆ ret

TestLifeCycleCORBA.ret = subprocess.call(command)

◆ rootContext

TestLifeCycleCORBA.rootContext = obj._narrow(CosNaming.NamingContext)