# Python stubs generated by omniidl from .././../idl/SALOME_TestComponent.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")

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


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

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

    _nil = CORBA.Object._nil


_0_Engines.TestComponent = TestComponent
_0_Engines._tc_TestComponent = omniORB.tcInternal.createTypeCode(_0_Engines._d_TestComponent)
omniORB.registerType(TestComponent._NP_RepositoryId, _0_Engines._d_TestComponent, _0_Engines._tc_TestComponent)

# TestComponent operations and attributes
TestComponent._d_Coucou = ((omniORB.tcInternal.tv_long, ), ((omniORB.tcInternal.tv_string,0), ), None)
TestComponent._d_Setenv = ((), (), None)

# TestComponent object reference
class _objref_TestComponent (_0_Engines._objref_Component):
    _NP_RepositoryId = TestComponent._NP_RepositoryId

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

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

    def Setenv(self, *args):
        return _omnipy.invoke(self, "Setenv", _0_Engines.TestComponent._d_Setenv, args)

    __methods__ = ["Coucou", "Setenv"] + _0_Engines._objref_Component.__methods__

omniORB.registerObjref(TestComponent._NP_RepositoryId, _objref_TestComponent)
_0_Engines._objref_TestComponent = _objref_TestComponent
del TestComponent, _objref_TestComponent

# TestComponent skeleton
__name__ = "Engines__POA"
class TestComponent (_0_Engines__POA.Component):
    _NP_RepositoryId = _0_Engines.TestComponent._NP_RepositoryId


    _omni_op_d = {"Coucou": _0_Engines.TestComponent._d_Coucou, "Setenv": _0_Engines.TestComponent._d_Setenv}
    _omni_op_d.update(_0_Engines__POA.Component._omni_op_d)

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

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

_exported_modules = ( "Engines", )

# The end.
