Salome HOME
*** empty log message ***
authorrahuel <rahuel@opencascade.com>
Tue, 30 Aug 2005 08:26:55 +0000 (08:26 +0000)
committerrahuel <rahuel@opencascade.com>
Tue, 30 Aug 2005 08:26:55 +0000 (08:26 +0000)
examples/SIGSEGV.py [new file with mode: 0644]
examples/SIGSEGVTUI.py [new file with mode: 0644]
examples/SIGSEGV_Swig.py [new file with mode: 0644]

diff --git a/examples/SIGSEGV.py b/examples/SIGSEGV.py
new file mode 100644 (file)
index 0000000..db00dc9
--- /dev/null
@@ -0,0 +1,8 @@
+from LifeCycleCORBA import *
+orb = CORBA.ORB_init([''], CORBA.ORB_ID)
+lcc = LifeCycleCORBA(orb)
+import SIGNALSComponent_idl
+SIGNALSComponent = lcc.FindOrLoadComponent('FactoryServer','SIGNALSComponent')
+SIGNALSComponent.SIGSEGVfunc()
+SIGNALSComponent.ping()
+
diff --git a/examples/SIGSEGVTUI.py b/examples/SIGSEGVTUI.py
new file mode 100644 (file)
index 0000000..ed168ab
--- /dev/null
@@ -0,0 +1,7 @@
+import salome
+orb = salome.CORBA.ORB_init([''], salome.CORBA.ORB_ID)
+lcc = salome.LifeCycleCORBA(orb)
+import SIGNALSComponent_idl
+SIGNALSComponent = lcc.FindOrLoadComponent('FactoryServer','SIGNALSComponent')
+SIGNALSComponent.SIGSEGVfunc()
+SIGNALSComponent.ping()
diff --git a/examples/SIGSEGV_Swig.py b/examples/SIGSEGV_Swig.py
new file mode 100644 (file)
index 0000000..1757de2
--- /dev/null
@@ -0,0 +1,3 @@
+import libSIGNALSComponent_Swig
+s = libSIGNALSComponent_Swig.SIGNALSComponentEngine()
+s.SIGSEGVfunc()