General KERNEL Documentation     End User KERNEL Services  


runSalome Namespace Reference


Data Structures

class  Server
class  InterpServer
class  CatalogServer
class  SalomeDSServer
class  RegistryServer
class  ContainerCPPServer
class  ContainerPYServer
class  ContainerSUPERVServer
class  LoggerServer
class  SessionServer
class  ContainerManagerServer
class  NotifyServer

Functions

def add_path
def get_config
def set_env
def killLocalPort
def givenPortKill
def kill_salome
def startGUI
def startSalome
def useSalome
def registerEnv
def no_main
def main

Variables

dictionary process_id = {}
string salome_subdir = "salome"
tuple session = clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session)
tuple end_time = os.times()
int nbaddi = 0
tuple nbaddi = int(args['interp'][0])
tuple anInterp = InterpServer(args)


Function Documentation

def runSalome::add_path   directory,
  variable_name
 

Function helper to add environment variables

def runSalome::get_config  ) 
 

Get list of modules, paths.

Read args from launch configure xml file and command line options.
Check variables <module>_ROOT_DIR and set list of used modules.
Return args, modules_list, modules_root_dir    

def runSalome::set_env   args,
  modules_list,
  modules_root_dir
 

Add to the PATH-variables modules specific paths

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::startGUI  ) 
 

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  ) 
 

Salome launch as a main application


Variable Documentation

dictionary runSalome::process_id = {} [static]
 

string runSalome::salome_subdir = "salome" [static]
 

tuple runSalome::session = clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session) [static]
 

tuple runSalome::end_time = os.times() [static]
 

int runSalome::nbaddi = 0 [static]
 

tuple runSalome::nbaddi = int(args['interp'][0]) [static]
 

tuple runSalome::anInterp = InterpServer(args) [static]