Version: 7.8.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
runSalome Namespace Reference

Module that provides services to launch SALOME. More...

Data Structures

class  InterpServer
 
class  CatalogServer
 
class  SalomeDSServer
 
class  ConnectionManagerServer
 
class  RegistryServer
 
class  ContainerCPPServer
 
class  LoggerServer
 
class  SessionServer
 
class  LauncherServer
 

Functions

def killLocalPort
 
def givenPortKill
 
def kill_salome
 
def get_cata_path
 
def startGUI
 
def startSalome
 
def useSalome
 
def execScript
 
def registerEnv
 
def no_main
 
def main
 
def foreGround
 
def runSalome
 

Variables

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

Detailed Description

Module that provides services to launch SALOME.

Function Documentation

def runSalome.killLocalPort ( )
kill servers from a previous SALOME exection, if needed,
on the CORBA port given in args of runSalome
def runSalome.givenPortKill (   port)
kill servers from a previous SALOME exection, if needed,
on the same CORBA port
def runSalome.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
def runSalome.get_cata_path (   list_modules,
  modules_root_dir 
)
Build a list of catalog paths (cata_path) to initialize the ModuleCatalog server
def runSalome.startGUI (   clt)
Salome Session Graphic User Interface activation
def runSalome.startSalome (   args,
  modules_list,
  modules_root_dir 
)
Launch all SALOME servers requested by args
def runSalome.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.
def runSalome.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.
def runSalome.no_main ( )
Salome Launch, when embedded in other application
def runSalome.main (   exeName = None)
Salome launch as a main application