Back to index

salome-kernel  6.5.0
Public Member Functions
KERNEL_PY.salome_pynode.SmartPyScriptNode Class Reference

List of all members.

Public Member Functions

def __init__
def execute

Detailed Description

Definition at line 56 of file salome_pynode.py.


Constructor & Destructor Documentation

Definition at line 57 of file salome_pynode.py.

00057 
00058   def __init__(self):
00059     Engines._objref_PyScriptNode.__init__(self)


Member Function Documentation

def KERNEL_PY.salome_pynode.SmartPyScriptNode.execute (   self,
  outargsname,
  args,
  kws 
)

Definition at line 60 of file salome_pynode.py.

00060 
00061   def execute(self,outargsname,*args,**kws):
00062     #the tuple args are ignored
00063     try:
00064       args=cPickle.dumps(((),kws),-1)
00065       results=Engines._objref_PyScriptNode.execute(self,outargsname,args)
00066       x=cPickle.loads(results)
00067       return x
00068     except SALOME.SALOME_Exception, e:
00069       raise ValueError(e.details.text)
00070 
00071 #Register the new proxy for PyNode
00072 omniORB.registerObjref(Engines._objref_PyNode._NP_RepositoryId, SmartPyNode)
00073 #Register the new proxy for PyScriptNode
00074 omniORB.registerObjref(Engines._objref_PyScriptNode._NP_RepositoryId, SmartPyScriptNode)
00075 

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