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

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

_omnipy.checkVersion(3,0, __file__)

# #include "SALOME_Ports.idl"
import SALOME_Ports_idl
_0_Ports = omniORB.openModule("Ports")
_0_Ports__POA = omniORB.openModule("Ports__POA")

#
# Start of module "Ports"
#
__name__ = "Ports"
_0_Ports = omniORB.openModule("Ports", r".././../idl/SALOME_ParamPorts.idl")
_0_Ports__POA = omniORB.openModule("Ports__POA", r".././../idl/SALOME_ParamPorts.idl")


# interface Param_Double_Port
_0_Ports._d_Param_Double_Port = (omniORB.tcInternal.tv_objref, "IDL:Ports/Param_Double_Port:1.0", "Param_Double_Port")
omniORB.typeMapping["IDL:Ports/Param_Double_Port:1.0"] = _0_Ports._d_Param_Double_Port
_0_Ports.Param_Double_Port = omniORB.newEmptyClass()
class Param_Double_Port (_0_Ports.Data_Port):
    _NP_RepositoryId = _0_Ports._d_Param_Double_Port[1]

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

    _nil = CORBA.Object._nil

    
    # typedef ... seq_double
    class seq_double:
        _NP_RepositoryId = "IDL:Ports/Param_Double_Port/seq_double:1.0"
        def __init__(self, *args, **kw):
            raise RuntimeError("Cannot construct objects of this type.")
    _d_seq_double  = (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_double, 0)
    _ad_seq_double = (omniORB.tcInternal.tv_alias, seq_double._NP_RepositoryId, "seq_double", (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_double, 0))
    _tc_seq_double = omniORB.tcInternal.createTypeCode(_ad_seq_double)
    omniORB.registerType(seq_double._NP_RepositoryId, _ad_seq_double, _tc_seq_double)


_0_Ports.Param_Double_Port = Param_Double_Port
_0_Ports._tc_Param_Double_Port = omniORB.tcInternal.createTypeCode(_0_Ports._d_Param_Double_Port)
omniORB.registerType(Param_Double_Port._NP_RepositoryId, _0_Ports._d_Param_Double_Port, _0_Ports._tc_Param_Double_Port)

# Param_Double_Port operations and attributes
Param_Double_Port._d_put = ((omniORB.typeMapping["IDL:Ports/Param_Double_Port/seq_double:1.0"], ), (), None)
Param_Double_Port._d_get_results = ((), (omniORB.typeMapping["IDL:Ports/Param_Double_Port/seq_double:1.0"], ), None)

# Param_Double_Port object reference
class _objref_Param_Double_Port (_0_Ports._objref_Data_Port):
    _NP_RepositoryId = Param_Double_Port._NP_RepositoryId

    def __init__(self):
        _0_Ports._objref_Data_Port.__init__(self)

    def put(self, *args):
        return _omnipy.invoke(self, "put", _0_Ports.Param_Double_Port._d_put, args)

    def get_results(self, *args):
        return _omnipy.invoke(self, "get_results", _0_Ports.Param_Double_Port._d_get_results, args)

    __methods__ = ["put", "get_results"] + _0_Ports._objref_Data_Port.__methods__

omniORB.registerObjref(Param_Double_Port._NP_RepositoryId, _objref_Param_Double_Port)
_0_Ports._objref_Param_Double_Port = _objref_Param_Double_Port
del Param_Double_Port, _objref_Param_Double_Port

# Param_Double_Port skeleton
__name__ = "Ports__POA"
class Param_Double_Port (_0_Ports__POA.Data_Port):
    _NP_RepositoryId = _0_Ports.Param_Double_Port._NP_RepositoryId


    _omni_op_d = {"put": _0_Ports.Param_Double_Port._d_put, "get_results": _0_Ports.Param_Double_Port._d_get_results}
    _omni_op_d.update(_0_Ports__POA.Data_Port._omni_op_d)

Param_Double_Port._omni_skeleton = Param_Double_Port
_0_Ports__POA.Param_Double_Port = Param_Double_Port
omniORB.registerSkeleton(Param_Double_Port._NP_RepositoryId, Param_Double_Port)
del Param_Double_Port
__name__ = "Ports"

#
# End of module "Ports"
#
__name__ = "SALOME_ParamPorts_idl"

_exported_modules = ( "Ports", )

# The end.
