Back to index

salome-paravis  6.5.0
Public Member Functions | Public Attributes
paravistest.SalomeSession Class Reference

List of all members.

Public Member Functions

def __init__
def __del__

Public Attributes

 port

Detailed Description

Definition at line 77 of file paravistest.py.


Constructor & Destructor Documentation

Definition at line 78 of file paravistest.py.

00078 
00079     def __init__(self):
00080         import runSalome
00081         import sys
00082         sys.argv += ["--killall"]
00083         sys.argv += ["--show-desktop=1"]
00084         sys.argv += ["--splash=0"]
00085         sys.argv += ["--modules=MED,VISU,PARAVIS"]
00086         clt, d = runSalome.main()
00087         port = d['port']
00088         self.port = port
00089         return

Definition at line 90 of file paravistest.py.

00090 
00091     def __del__(self):
00092         #os.system('killSalomeWithPort.py {0}'.format(self.port))
00093         os.system('killSalomeWithPort.py ' + self.port)
        return

Member Data Documentation

Definition at line 87 of file paravistest.py.


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