# Python stubs generated by omniidl from .././../idl/SALOME_PyNode.idl

import omniORB, _omnipy
from omniORB import CORBA, PortableServer
_0_CORBA = CORBA

_omnipy.checkVersion(3,0, __file__)

# #include "SALOME_GenericObj.idl"
import SALOME_GenericObj_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "SALOME_Exception.idl"
import SALOME_Exception_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")

#
# Start of module "Engines"
#
__name__ = "Engines"
_0_Engines = omniORB.openModule("Engines", r".././../idl/SALOME_PyNode.idl")
_0_Engines__POA = omniORB.openModule("Engines__POA", r".././../idl/SALOME_PyNode.idl")


# typedef ... pickledArgs
class pickledArgs:
    _NP_RepositoryId = "IDL:Engines/pickledArgs:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_Engines.pickledArgs = pickledArgs
_0_Engines._d_pickledArgs  = (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_octet, 0)
_0_Engines._ad_pickledArgs = (omniORB.tcInternal.tv_alias, pickledArgs._NP_RepositoryId, "pickledArgs", (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_octet, 0))
_0_Engines._tc_pickledArgs = omniORB.tcInternal.createTypeCode(_0_Engines._ad_pickledArgs)
omniORB.registerType(pickledArgs._NP_RepositoryId, _0_Engines._ad_pickledArgs, _0_Engines._tc_pickledArgs)
del pickledArgs

# interface PyNode
_0_Engines._d_PyNode = (omniORB.tcInternal.tv_objref, "IDL:Engines/PyNode:1.0", "PyNode")
omniORB.typeMapping["IDL:Engines/PyNode:1.0"] = _0_Engines._d_PyNode
_0_Engines.PyNode = omniORB.newEmptyClass()
class PyNode (_0_SALOME.GenericObj):
    _NP_RepositoryId = _0_Engines._d_PyNode[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_Engines.PyNode = PyNode
_0_Engines._tc_PyNode = omniORB.tcInternal.createTypeCode(_0_Engines._d_PyNode)
omniORB.registerType(PyNode._NP_RepositoryId, _0_Engines._d_PyNode, _0_Engines._tc_PyNode)

# PyNode operations and attributes
PyNode._d_execute = (((omniORB.tcInternal.tv_string,0), omniORB.typeMapping["IDL:Engines/pickledArgs:1.0"]), (omniORB.typeMapping["IDL:Engines/pickledArgs:1.0"], ), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})

# PyNode object reference
class _objref_PyNode (_0_SALOME._objref_GenericObj):
    _NP_RepositoryId = PyNode._NP_RepositoryId

    def __init__(self):
        _0_SALOME._objref_GenericObj.__init__(self)

    def execute(self, *args):
        return _omnipy.invoke(self, "execute", _0_Engines.PyNode._d_execute, args)

    __methods__ = ["execute"] + _0_SALOME._objref_GenericObj.__methods__

omniORB.registerObjref(PyNode._NP_RepositoryId, _objref_PyNode)
_0_Engines._objref_PyNode = _objref_PyNode
del PyNode, _objref_PyNode

# PyNode skeleton
__name__ = "Engines__POA"
class PyNode (_0_SALOME__POA.GenericObj):
    _NP_RepositoryId = _0_Engines.PyNode._NP_RepositoryId


    _omni_op_d = {"execute": _0_Engines.PyNode._d_execute}
    _omni_op_d.update(_0_SALOME__POA.GenericObj._omni_op_d)

PyNode._omni_skeleton = PyNode
_0_Engines__POA.PyNode = PyNode
omniORB.registerSkeleton(PyNode._NP_RepositoryId, PyNode)
del PyNode
__name__ = "Engines"

#
# End of module "Engines"
#
__name__ = "SALOME_PyNode_idl"

_exported_modules = ( "Engines", )

# The end.
