Back to index

salome-kernel  6.5.0
Public Member Functions
salome_session.SalomeSession Class Reference

List of all members.

Public Member Functions

def __init__
def __del__

Detailed Description

Salome session launcher

Definition at line 108 of file salome_session.py.


Constructor & Destructor Documentation

def salome_session.SalomeSession.__init__ (   self,
  modules 
)

Definition at line 113 of file salome_session.py.

00113 
00114     def __init__(self, modules):
00115         import runSalome
00116         sys.argv  = ["dummy.py"]
00117         sys.argv += ["--terminal"]
00118         if modules:
00119             sys.argv += ['--modules=%s'%(",".join(modules))]
00120             pass
00121         runSalome.clt, runSalome.args = runSalome.main()
00122         import salome
00123         salome.salome_init()
        return

Here is the call graph for this function:

Definition at line 124 of file salome_session.py.

00124 
00125     def __del__(self):
00126         import runSalome
00127         runSalome.killLocalPort()
        return

Here is the call graph for this function:


The documentation for this class was generated from the following file: