Version: 9.15.0
runSalomeOld Namespace Reference

Functions

def killLocalPort ()
 
def givenPortKill (port)
 
def kill_salome (args)
 
def startGUI (clt)
 
def startSalome (args, modules_list, modules_root_dir)
 
def useSalome (args, modules_list, modules_root_dir)
 
def execScript (script_path)
 
def registerEnv (args, modules_list, modules_root_dir)
 
def no_main ()
 
def addToPidict (args)
 
def main (exeName=None)
 
def foreGround (clt, args)
 
def runSalome ()
 

Variables

 session = clt.waitNS("/Kernel/Session",SALOME.Session)
 
 end_time = os.times()
 
int nbaddi = 0
 
 anInterp = InterpServer(args)
 
 port
 
 killSalomeWithPort
 

Function Documentation

◆ addToPidict()

def runSalomeOld.addToPidict (   args)

Referenced by startSalome().

◆ execScript()

def runSalomeOld.execScript (   script_path)

◆ foreGround()

def runSalomeOld.foreGround (   clt,
  args 
)

◆ givenPortKill()

def runSalomeOld.givenPortKill (   port)
kill servers from a previous SALOME execution, if needed,
on the same CORBA port

References killSalomeWithPort.killMyPort().

Referenced by kill_salome().

◆ kill_salome()

def runSalomeOld.kill_salome (   args)
Kill servers from previous SALOME executions, if needed;
depending on args 'killall' or 'portkill', kill all executions,
or only execution on the same CORBA port

References givenPortKill(), and killSalome.killAllPorts().

Referenced by main(), and no_main().

◆ killLocalPort()

def runSalomeOld.killLocalPort ( )
kill servers from a previous SALOME execution, if needed,
on the CORBA port given in args of runSalome

References killSalomeWithPort.killMyPort().

◆ main()

def runSalomeOld.main (   exeName = None)

◆ no_main()

def runSalomeOld.no_main ( )
Salome Launch, when embedded in other application

References kill_salome(), and useSalome().

◆ registerEnv()

def runSalomeOld.registerEnv (   args,
  modules_list,
  modules_root_dir 
)
Register args, modules_list, modules_root_dir in a file
for further use, when SALOME is launched embedded in an other application.

References salome_utils.getTmpDir(), and salome_utils.getUserName().

◆ runSalome()

def runSalomeOld.runSalome ( )

◆ startGUI()

def runSalomeOld.startGUI (   clt)
Salome Session Graphic User Interface activation

◆ startSalome()

def runSalomeOld.startSalome (   args,
  modules_list,
  modules_root_dir 
)

◆ useSalome()

def runSalomeOld.useSalome (   args,
  modules_list,
  modules_root_dir 
)
Launch all SALOME servers requested by args,
save list of process, give info to user,
show registered objects in Naming Service.

References killSalomeWithPort.getPiDict(), startSalome(), and virtual_salome.verbose.

Referenced by main(), and no_main().

Variable Documentation

◆ anInterp

runSalomeOld.anInterp = InterpServer(args)

◆ end_time

runSalomeOld.end_time = os.times()

◆ killSalomeWithPort

runSalomeOld.killSalomeWithPort

◆ nbaddi

runSalomeOld.nbaddi = 0

◆ port

runSalomeOld.port

◆ session