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

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

_omnipy.checkVersion(3,0, __file__)

# #include "SALOME_Exception.idl"
import SALOME_Exception_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "SALOME_GenericObj.idl"
import SALOME_GenericObj_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "SALOMEDS.idl"
import SALOMEDS_idl
_0_SALOMEDS = omniORB.openModule("SALOMEDS")
_0_SALOMEDS__POA = omniORB.openModule("SALOMEDS__POA")
# #include "SALOME_PyNode.idl"
import SALOME_PyNode_idl
_0_Engines = omniORB.openModule("Engines")
_0_Engines__POA = omniORB.openModule("Engines__POA")
# #include "SALOME_Component.idl"
import SALOME_Component_idl
_0_Engines = omniORB.openModule("Engines")
_0_Engines__POA = omniORB.openModule("Engines__POA")
# #include "SALOME_MPIObject.idl"
import SALOME_MPIObject_idl
_0_Engines = omniORB.openModule("Engines")
_0_Engines__POA = omniORB.openModule("Engines__POA")

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


# interface TestMPIComponent
_0_Engines._d_TestMPIComponent = (omniORB.tcInternal.tv_objref, "IDL:Engines/TestMPIComponent:1.0", "TestMPIComponent")
omniORB.typeMapping["IDL:Engines/TestMPIComponent:1.0"] = _0_Engines._d_TestMPIComponent
_0_Engines.TestMPIComponent = omniORB.newEmptyClass()
class TestMPIComponent (_0_Engines.Component, _0_Engines.MPIObject):
    _NP_RepositoryId = _0_Engines._d_TestMPIComponent[1]

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

    _nil = CORBA.Object._nil


_0_Engines.TestMPIComponent = TestMPIComponent
_0_Engines._tc_TestMPIComponent = omniORB.tcInternal.createTypeCode(_0_Engines._d_TestMPIComponent)
omniORB.registerType(TestMPIComponent._NP_RepositoryId, _0_Engines._d_TestMPIComponent, _0_Engines._tc_TestMPIComponent)

# TestMPIComponent operations and attributes
TestMPIComponent._d_Coucou = ((omniORB.tcInternal.tv_long, ), (), None)
TestMPIComponent._d_SPCoucou = ((omniORB.tcInternal.tv_long, ), None, None)

# TestMPIComponent object reference
class _objref_TestMPIComponent (_0_Engines._objref_Component, _0_Engines._objref_MPIObject):
    _NP_RepositoryId = TestMPIComponent._NP_RepositoryId

    def __init__(self):
        _0_Engines._objref_Component.__init__(self)
        _0_Engines._objref_MPIObject.__init__(self)

    def Coucou(self, *args):
        return _omnipy.invoke(self, "Coucou", _0_Engines.TestMPIComponent._d_Coucou, args)

    def SPCoucou(self, *args):
        return _omnipy.invoke(self, "SPCoucou", _0_Engines.TestMPIComponent._d_SPCoucou, args)

    __methods__ = ["Coucou", "SPCoucou"] + _0_Engines._objref_Component.__methods__ + _0_Engines._objref_MPIObject.__methods__

omniORB.registerObjref(TestMPIComponent._NP_RepositoryId, _objref_TestMPIComponent)
_0_Engines._objref_TestMPIComponent = _objref_TestMPIComponent
del TestMPIComponent, _objref_TestMPIComponent

# TestMPIComponent skeleton
__name__ = "Engines__POA"
class TestMPIComponent (_0_Engines__POA.Component, _0_Engines__POA.MPIObject):
    _NP_RepositoryId = _0_Engines.TestMPIComponent._NP_RepositoryId


    _omni_op_d = {"Coucou": _0_Engines.TestMPIComponent._d_Coucou, "SPCoucou": _0_Engines.TestMPIComponent._d_SPCoucou}
    _omni_op_d.update(_0_Engines__POA.Component._omni_op_d)
    _omni_op_d.update(_0_Engines__POA.MPIObject._omni_op_d)

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

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

_exported_modules = ( "Engines", )

# The end.
