# Python stubs generated by omniidl from .././../idl/Compo1Py.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_Comm.idl"
import SALOME_Comm_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "MED.idl"
import MED_idl
_0_SALOME_MED = omniORB.openModule("SALOME_MED")
_0_SALOME_MED__POA = omniORB.openModule("SALOME_MED__POA")

#
# Start of module "Compo1Py_ORB"
#
__name__ = "Compo1Py_ORB"
_0_Compo1Py_ORB = omniORB.openModule("Compo1Py_ORB", r".././../idl/Compo1Py.idl")
_0_Compo1Py_ORB__POA = omniORB.openModule("Compo1Py_ORB__POA", r".././../idl/Compo1Py.idl")


# interface Compo1Py
_0_Compo1Py_ORB._d_Compo1Py = (omniORB.tcInternal.tv_objref, "IDL:Compo1Py_ORB/Compo1Py:1.0", "Compo1Py")
omniORB.typeMapping["IDL:Compo1Py_ORB/Compo1Py:1.0"] = _0_Compo1Py_ORB._d_Compo1Py
_0_Compo1Py_ORB.Compo1Py = omniORB.newEmptyClass()
class Compo1Py (_0_Engines.Component):
    _NP_RepositoryId = _0_Compo1Py_ORB._d_Compo1Py[1]

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

    _nil = CORBA.Object._nil


_0_Compo1Py_ORB.Compo1Py = Compo1Py
_0_Compo1Py_ORB._tc_Compo1Py = omniORB.tcInternal.createTypeCode(_0_Compo1Py_ORB._d_Compo1Py)
omniORB.registerType(Compo1Py._NP_RepositoryId, _0_Compo1Py_ORB._d_Compo1Py, _0_Compo1Py_ORB._tc_Compo1Py)

# Compo1Py operations and attributes
Compo1Py._d_Initialise = (((omniORB.tcInternal.tv_string,0), ), (), None)
Compo1Py._d_Calcul1 = ((), (omniORB.typeMapping["IDL:SALOME_MED/MESH:1.0"], ), None)
Compo1Py._d_Calcul2 = ((), (omniORB.typeMapping["IDL:SALOME_MED/SUPPORT:1.0"], ), None)

# Compo1Py object reference
class _objref_Compo1Py (_0_Engines._objref_Component):
    _NP_RepositoryId = Compo1Py._NP_RepositoryId

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

    def Initialise(self, *args):
        return _omnipy.invoke(self, "Initialise", _0_Compo1Py_ORB.Compo1Py._d_Initialise, args)

    def Calcul1(self, *args):
        return _omnipy.invoke(self, "Calcul1", _0_Compo1Py_ORB.Compo1Py._d_Calcul1, args)

    def Calcul2(self, *args):
        return _omnipy.invoke(self, "Calcul2", _0_Compo1Py_ORB.Compo1Py._d_Calcul2, args)

    __methods__ = ["Initialise", "Calcul1", "Calcul2"] + _0_Engines._objref_Component.__methods__

omniORB.registerObjref(Compo1Py._NP_RepositoryId, _objref_Compo1Py)
_0_Compo1Py_ORB._objref_Compo1Py = _objref_Compo1Py
del Compo1Py, _objref_Compo1Py

# Compo1Py skeleton
__name__ = "Compo1Py_ORB__POA"
class Compo1Py (_0_Engines__POA.Component):
    _NP_RepositoryId = _0_Compo1Py_ORB.Compo1Py._NP_RepositoryId


    _omni_op_d = {"Initialise": _0_Compo1Py_ORB.Compo1Py._d_Initialise, "Calcul1": _0_Compo1Py_ORB.Compo1Py._d_Calcul1, "Calcul2": _0_Compo1Py_ORB.Compo1Py._d_Calcul2}
    _omni_op_d.update(_0_Engines__POA.Component._omni_op_d)

Compo1Py._omni_skeleton = Compo1Py
_0_Compo1Py_ORB__POA.Compo1Py = Compo1Py
omniORB.registerSkeleton(Compo1Py._NP_RepositoryId, Compo1Py)
del Compo1Py
__name__ = "Compo1Py_ORB"

#
# End of module "Compo1Py_ORB"
#
__name__ = "Compo1Py_idl"

_exported_modules = ( "Compo1Py_ORB", )

# The end.
