Module that provides services to launch SALOME.  
More...
 | 
| 
tuple  | session = clt.waitNS("/Kernel/Session",SALOME.Session) | 
|   | 
| 
tuple  | end_time = os.times() | 
|   | 
| 
int  | nbaddi = 0 | 
|   | 
| 
tuple  | anInterp = InterpServer(args) | 
|   | 
| 
  | port | 
|   | 
| 
  | killSalomeWithPort | 
|   | 
Module that provides services to launch SALOME. 
 
      
        
          | 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