# Python stubs generated by omniidl from .././../idl/ParaMEDMEMComponent.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")
# #include "MEDCouplingCorbaServant.idl"
import MEDCouplingCorbaServant_idl
_0_SALOME_MED = omniORB.openModule("SALOME_MED")
_0_SALOME_MED__POA = omniORB.openModule("SALOME_MED__POA")
# #include "ParaMEDCouplingCorbaServant.idl"
import ParaMEDCouplingCorbaServant_idl
_0_SALOME_MED = omniORB.openModule("SALOME_MED")
_0_SALOME_MED__POA = omniORB.openModule("SALOME_MED__POA")

#
# Start of module "SALOME_MED"
#
__name__ = "SALOME_MED"
_0_SALOME_MED = omniORB.openModule("SALOME_MED", r".././../idl/ParaMEDMEMComponent.idl")
_0_SALOME_MED__POA = omniORB.openModule("SALOME_MED__POA", r".././../idl/ParaMEDMEMComponent.idl")


# interface MPIMEDCouplingFieldDoubleCorbaInterface
_0_SALOME_MED._d_MPIMEDCouplingFieldDoubleCorbaInterface = (omniORB.tcInternal.tv_objref, "IDL:SALOME_MED/MPIMEDCouplingFieldDoubleCorbaInterface:1.0", "MPIMEDCouplingFieldDoubleCorbaInterface")
omniORB.typeMapping["IDL:SALOME_MED/MPIMEDCouplingFieldDoubleCorbaInterface:1.0"] = _0_SALOME_MED._d_MPIMEDCouplingFieldDoubleCorbaInterface
_0_SALOME_MED.MPIMEDCouplingFieldDoubleCorbaInterface = omniORB.newEmptyClass()
class MPIMEDCouplingFieldDoubleCorbaInterface (_0_SALOME_MED.ParaMEDCouplingFieldDoubleCorbaInterface):
    _NP_RepositoryId = _0_SALOME_MED._d_MPIMEDCouplingFieldDoubleCorbaInterface[1]

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

    _nil = CORBA.Object._nil


_0_SALOME_MED.MPIMEDCouplingFieldDoubleCorbaInterface = MPIMEDCouplingFieldDoubleCorbaInterface
_0_SALOME_MED._tc_MPIMEDCouplingFieldDoubleCorbaInterface = omniORB.tcInternal.createTypeCode(_0_SALOME_MED._d_MPIMEDCouplingFieldDoubleCorbaInterface)
omniORB.registerType(MPIMEDCouplingFieldDoubleCorbaInterface._NP_RepositoryId, _0_SALOME_MED._d_MPIMEDCouplingFieldDoubleCorbaInterface, _0_SALOME_MED._tc_MPIMEDCouplingFieldDoubleCorbaInterface)

# MPIMEDCouplingFieldDoubleCorbaInterface operations and attributes
MPIMEDCouplingFieldDoubleCorbaInterface._d_getDataByMPI = (((omniORB.tcInternal.tv_string,0), ), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})

# MPIMEDCouplingFieldDoubleCorbaInterface object reference
class _objref_MPIMEDCouplingFieldDoubleCorbaInterface (_0_SALOME_MED._objref_ParaMEDCouplingFieldDoubleCorbaInterface):
    _NP_RepositoryId = MPIMEDCouplingFieldDoubleCorbaInterface._NP_RepositoryId

    def __init__(self):
        _0_SALOME_MED._objref_ParaMEDCouplingFieldDoubleCorbaInterface.__init__(self)

    def getDataByMPI(self, *args):
        return _omnipy.invoke(self, "getDataByMPI", _0_SALOME_MED.MPIMEDCouplingFieldDoubleCorbaInterface._d_getDataByMPI, args)

    __methods__ = ["getDataByMPI"] + _0_SALOME_MED._objref_ParaMEDCouplingFieldDoubleCorbaInterface.__methods__

omniORB.registerObjref(MPIMEDCouplingFieldDoubleCorbaInterface._NP_RepositoryId, _objref_MPIMEDCouplingFieldDoubleCorbaInterface)
_0_SALOME_MED._objref_MPIMEDCouplingFieldDoubleCorbaInterface = _objref_MPIMEDCouplingFieldDoubleCorbaInterface
del MPIMEDCouplingFieldDoubleCorbaInterface, _objref_MPIMEDCouplingFieldDoubleCorbaInterface

# MPIMEDCouplingFieldDoubleCorbaInterface skeleton
__name__ = "SALOME_MED__POA"
class MPIMEDCouplingFieldDoubleCorbaInterface (_0_SALOME_MED__POA.ParaMEDCouplingFieldDoubleCorbaInterface):
    _NP_RepositoryId = _0_SALOME_MED.MPIMEDCouplingFieldDoubleCorbaInterface._NP_RepositoryId


    _omni_op_d = {"getDataByMPI": _0_SALOME_MED.MPIMEDCouplingFieldDoubleCorbaInterface._d_getDataByMPI}
    _omni_op_d.update(_0_SALOME_MED__POA.ParaMEDCouplingFieldDoubleCorbaInterface._omni_op_d)

MPIMEDCouplingFieldDoubleCorbaInterface._omni_skeleton = MPIMEDCouplingFieldDoubleCorbaInterface
_0_SALOME_MED__POA.MPIMEDCouplingFieldDoubleCorbaInterface = MPIMEDCouplingFieldDoubleCorbaInterface
omniORB.registerSkeleton(MPIMEDCouplingFieldDoubleCorbaInterface._NP_RepositoryId, MPIMEDCouplingFieldDoubleCorbaInterface)
del MPIMEDCouplingFieldDoubleCorbaInterface
__name__ = "SALOME_MED"

# interface ParaMEDMEMComponent
_0_SALOME_MED._d_ParaMEDMEMComponent = (omniORB.tcInternal.tv_objref, "IDL:SALOME_MED/ParaMEDMEMComponent:1.0", "ParaMEDMEMComponent")
omniORB.typeMapping["IDL:SALOME_MED/ParaMEDMEMComponent:1.0"] = _0_SALOME_MED._d_ParaMEDMEMComponent
_0_SALOME_MED.ParaMEDMEMComponent = omniORB.newEmptyClass()
class ParaMEDMEMComponent (_0_Engines.Component, _0_Engines.MPIObject):
    _NP_RepositoryId = _0_SALOME_MED._d_ParaMEDMEMComponent[1]

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

    _nil = CORBA.Object._nil


_0_SALOME_MED.ParaMEDMEMComponent = ParaMEDMEMComponent
_0_SALOME_MED._tc_ParaMEDMEMComponent = omniORB.tcInternal.createTypeCode(_0_SALOME_MED._d_ParaMEDMEMComponent)
omniORB.registerType(ParaMEDMEMComponent._NP_RepositoryId, _0_SALOME_MED._d_ParaMEDMEMComponent, _0_SALOME_MED._tc_ParaMEDMEMComponent)

# ParaMEDMEMComponent operations and attributes
ParaMEDMEMComponent._d_setInterpolationOptions = (((omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_long, (omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_double, omniORB.tcInternal.tv_double, omniORB.tcInternal.tv_boolean, omniORB.tcInternal.tv_double, omniORB.tcInternal.tv_double, omniORB.tcInternal.tv_double, omniORB.tcInternal.tv_long, omniORB.tcInternal.tv_boolean, (omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_boolean), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
ParaMEDMEMComponent._d_initializeCoupling = (((omniORB.tcInternal.tv_string,0), ), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
ParaMEDMEMComponent._d_terminateCoupling = (((omniORB.tcInternal.tv_string,0), ), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})

# ParaMEDMEMComponent object reference
class _objref_ParaMEDMEMComponent (_0_Engines._objref_Component, _0_Engines._objref_MPIObject):
    _NP_RepositoryId = ParaMEDMEMComponent._NP_RepositoryId

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

    def setInterpolationOptions(self, *args):
        return _omnipy.invoke(self, "setInterpolationOptions", _0_SALOME_MED.ParaMEDMEMComponent._d_setInterpolationOptions, args)

    def initializeCoupling(self, *args):
        return _omnipy.invoke(self, "initializeCoupling", _0_SALOME_MED.ParaMEDMEMComponent._d_initializeCoupling, args)

    def terminateCoupling(self, *args):
        return _omnipy.invoke(self, "terminateCoupling", _0_SALOME_MED.ParaMEDMEMComponent._d_terminateCoupling, args)

    __methods__ = ["setInterpolationOptions", "initializeCoupling", "terminateCoupling"] + _0_Engines._objref_Component.__methods__ + _0_Engines._objref_MPIObject.__methods__

omniORB.registerObjref(ParaMEDMEMComponent._NP_RepositoryId, _objref_ParaMEDMEMComponent)
_0_SALOME_MED._objref_ParaMEDMEMComponent = _objref_ParaMEDMEMComponent
del ParaMEDMEMComponent, _objref_ParaMEDMEMComponent

# ParaMEDMEMComponent skeleton
__name__ = "SALOME_MED__POA"
class ParaMEDMEMComponent (_0_Engines__POA.Component, _0_Engines__POA.MPIObject):
    _NP_RepositoryId = _0_SALOME_MED.ParaMEDMEMComponent._NP_RepositoryId


    _omni_op_d = {"setInterpolationOptions": _0_SALOME_MED.ParaMEDMEMComponent._d_setInterpolationOptions, "initializeCoupling": _0_SALOME_MED.ParaMEDMEMComponent._d_initializeCoupling, "terminateCoupling": _0_SALOME_MED.ParaMEDMEMComponent._d_terminateCoupling}
    _omni_op_d.update(_0_Engines__POA.Component._omni_op_d)
    _omni_op_d.update(_0_Engines__POA.MPIObject._omni_op_d)

ParaMEDMEMComponent._omni_skeleton = ParaMEDMEMComponent
_0_SALOME_MED__POA.ParaMEDMEMComponent = ParaMEDMEMComponent
omniORB.registerSkeleton(ParaMEDMEMComponent._NP_RepositoryId, ParaMEDMEMComponent)
del ParaMEDMEMComponent
__name__ = "SALOME_MED"

#
# End of module "SALOME_MED"
#
__name__ = "ParaMEDMEMComponent_idl"

_exported_modules = ( "SALOME_MED", )

# The end.
