예제 #1
0
_omnipy.checkVersion(3,0, __file__)


#
# Start of module "calcApp"
#
__name__ = "calcApp"
_0_calcApp = omniORB.openModule("calcApp", r"calcApp.idl")
_0_calcApp__POA = omniORB.openModule("calcApp__POA", r"calcApp.idl")


# interface calc
_0_calcApp._d_calc = (omniORB.tcInternal.tv_objref, "IDL:calcApp/calc:1.0", "calc")
omniORB.typeMapping["IDL:calcApp/calc:1.0"] = _0_calcApp._d_calc
_0_calcApp.calc = omniORB.newEmptyClass()
class calc :
    _NP_RepositoryId = _0_calcApp._d_calc[1]

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

    _nil = CORBA.Object._nil


_0_calcApp.calc = calc
_0_calcApp._tc_calc = omniORB.tcInternal.createTypeCode(_0_calcApp._d_calc)
omniORB.registerType(calc._NP_RepositoryId, _0_calcApp._d_calc, _0_calcApp._tc_calc)

# calc operations and attributes
calc._d_soma = ((omniORB.tcInternal.tv_float, omniORB.tcInternal.tv_float), (omniORB.tcInternal.tv_float, ), None)
예제 #2
0
_0__GlobalIDL._tc_StringSeq = omniORB.tcInternal.createTypeCode(_0__GlobalIDL._ad_StringSeq)
omniORB.registerType(StringSeq._NP_RepositoryId, _0__GlobalIDL._ad_StringSeq, _0__GlobalIDL._tc_StringSeq)
del StringSeq

#
# Start of module "DataBase"
#
__name__ = "DataBase"
_0_DataBase = omniORB.openModule("DataBase", r"DataBase.idl")
_0_DataBase__POA = omniORB.openModule("DataBase__POA", r"DataBase.idl")


# interface mDataBase
_0_DataBase._d_mDataBase = (omniORB.tcInternal.tv_objref, "IDL:DataBase/mDataBase:1.0", "mDataBase")
omniORB.typeMapping["IDL:DataBase/mDataBase:1.0"] = _0_DataBase._d_mDataBase
_0_DataBase.mDataBase = omniORB.newEmptyClass()
class mDataBase :
    _NP_RepositoryId = _0_DataBase._d_mDataBase[1]

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

    _nil = CORBA.Object._nil


_0_DataBase.mDataBase = mDataBase
_0_DataBase._tc_mDataBase = omniORB.tcInternal.createTypeCode(_0_DataBase._d_mDataBase)
omniORB.registerType(mDataBase._NP_RepositoryId, _0_DataBase._d_mDataBase, _0_DataBase._tc_mDataBase)

# mDataBase operations and attributes
mDataBase._d_setConnection = (((omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0)), (omniORB.tcInternal.tv_boolean, ), None)
예제 #3
0
from omniORB import CORBA, PortableServer
_0_CORBA = CORBA

_omnipy.checkVersion(3,0, __file__)


#
# Start of module "globaldefs"
#
__name__ = "globaldefs"
_0_globaldefs = omniORB.openModule("globaldefs", r"globaldefs.idl")
_0_globaldefs__POA = omniORB.openModule("globaldefs__POA", r"globaldefs.idl")


# struct NameAndStringValue_T
_0_globaldefs.NameAndStringValue_T = omniORB.newEmptyClass()
class NameAndStringValue_T (omniORB.StructBase):
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/globaldefs/NameAndStringValue_T:1.0"

    def __init__(self, name, value):
        self.name = name
        self.value = value

_0_globaldefs.NameAndStringValue_T = NameAndStringValue_T
_0_globaldefs._d_NameAndStringValue_T  = (omniORB.tcInternal.tv_struct, NameAndStringValue_T, NameAndStringValue_T._NP_RepositoryId, "NameAndStringValue_T", "name", (omniORB.tcInternal.tv_string,0), "value", (omniORB.tcInternal.tv_string,0))
_0_globaldefs._tc_NameAndStringValue_T = omniORB.tcInternal.createTypeCode(_0_globaldefs._d_NameAndStringValue_T)
omniORB.registerType(NameAndStringValue_T._NP_RepositoryId, _0_globaldefs._d_NameAndStringValue_T, _0_globaldefs._tc_NameAndStringValue_T)
del NameAndStringValue_T

# typedef ... NVSList_T
class NVSList_T:
import RTC_idl
_0_RTC = omniORB.openModule("RTC")
_0_RTC__POA = omniORB.openModule("RTC__POA")

#
# Start of module "OpenRTM"
#
__name__ = "OpenRTM"
_0_OpenRTM = omniORB.openModule("OpenRTM", r"/home/openrtm/svn/OpenRTM-aist-Python/OpenRTM_aist/RTM_IDL/OpenRTM.idl")
_0_OpenRTM__POA = omniORB.openModule("OpenRTM__POA", r"/home/openrtm/svn/OpenRTM-aist-Python/OpenRTM_aist/RTM_IDL/OpenRTM.idl")


# interface DataFlowComponent
_0_OpenRTM._d_DataFlowComponent = (omniORB.tcInternal.tv_objref, "IDL:openrtm.aist.go.jp/OpenRTM/DataFlowComponent:1.0", "DataFlowComponent")
omniORB.typeMapping["IDL:openrtm.aist.go.jp/OpenRTM/DataFlowComponent:1.0"] = _0_OpenRTM._d_DataFlowComponent
_0_OpenRTM.DataFlowComponent = omniORB.newEmptyClass()
class DataFlowComponent (_0_RTC.RTObject, _0_RTC.DataFlowComponent):
    _NP_RepositoryId = _0_OpenRTM._d_DataFlowComponent[1]

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

    _nil = CORBA.Object._nil


_0_OpenRTM.DataFlowComponent = DataFlowComponent
_0_OpenRTM._tc_DataFlowComponent = omniORB.tcInternal.createTypeCode(_0_OpenRTM._d_DataFlowComponent)
omniORB.registerType(DataFlowComponent._NP_RepositoryId, _0_OpenRTM._d_DataFlowComponent, _0_OpenRTM._tc_DataFlowComponent)

# DataFlowComponent object reference
class _objref_DataFlowComponent (_0_RTC._objref_RTObject, _0_RTC._objref_DataFlowComponent):
    TrafficParameterList_T._NP_RepositoryId,
    "TrafficParameterList_T",
    omniORB.typeCodeMapping["IDL:mtnm.tmforum.org/globaldefs/NVSList_T:1.0"]._d,
)
_0_trafficDescriptor._tc_TrafficParameterList_T = omniORB.tcInternal.createTypeCode(
    _0_trafficDescriptor._ad_TrafficParameterList_T
)
omniORB.registerType(
    TrafficParameterList_T._NP_RepositoryId,
    _0_trafficDescriptor._ad_TrafficParameterList_T,
    _0_trafficDescriptor._tc_TrafficParameterList_T,
)
del TrafficParameterList_T

# struct TrafficDescriptor_T
_0_trafficDescriptor.TrafficDescriptor_T = omniORB.newEmptyClass()


class TrafficDescriptor_T(omniORB.StructBase):
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/trafficDescriptor/TrafficDescriptor_T:1.0"

    def __init__(
        self,
        name,
        userLabel,
        nativeEMSName,
        owner,
        serviceCategory,
        trafficParameters,
        conformanceDefinition,
        additionalInfo,
del input_projection

# typedef ... output_projection
class output_projection:
    _NP_RepositoryId = "IDL:Projection/output_projection:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_Projection.output_projection = output_projection
_0_Projection._d_output_projection  = (omniORB.tcInternal.tv_string,1024)
_0_Projection._ad_output_projection = (omniORB.tcInternal.tv_alias, output_projection._NP_RepositoryId, "output_projection", (omniORB.tcInternal.tv_string,1024))
_0_Projection._tc_output_projection = omniORB.tcInternal.createTypeCode(_0_Projection._ad_output_projection)
omniORB.registerType(output_projection._NP_RepositoryId, _0_Projection._ad_output_projection, _0_Projection._tc_output_projection)
del output_projection

# struct Fwd_transformation
_0_Projection.Fwd_transformation = omniORB.newEmptyClass()
class Fwd_transformation (omniORB.StructBase):
    _NP_RepositoryId = "IDL:Projection/Fwd_transformation:1.0"

    def __init__(self, end_latitude, end_longitude, back_azimuth):
        self.end_latitude = end_latitude
        self.end_longitude = end_longitude
        self.back_azimuth = back_azimuth

_0_Projection.Fwd_transformation = Fwd_transformation
_0_Projection._d_Fwd_transformation  = (omniORB.tcInternal.tv_struct, Fwd_transformation, Fwd_transformation._NP_RepositoryId, "Fwd_transformation", "end_latitude", omniORB.typeMapping["IDL:Projection/latitude:1.0"], "end_longitude", omniORB.typeMapping["IDL:Projection/longitude:1.0"], "back_azimuth", omniORB.typeMapping["IDL:Projection/azimuth:1.0"])
_0_Projection._tc_Fwd_transformation = omniORB.tcInternal.createTypeCode(_0_Projection._d_Fwd_transformation)
omniORB.registerType(Fwd_transformation._NP_RepositoryId, _0_Projection._d_Fwd_transformation, _0_Projection._tc_Fwd_transformation)
del Fwd_transformation

# struct Inv_transformation
예제 #7
0
파일: emsMgr_idl.py 프로젝트: zintoo/u2000
_0_CosNotification__POA = omniORB.openModule("CosNotification__POA")
# #include "notifications.idl"
import notifications_idl
_0_notifications = omniORB.openModule("notifications")
_0_notifications__POA = omniORB.openModule("notifications__POA")

#
# Start of module "emsMgr"
#
__name__ = "emsMgr"
_0_emsMgr = omniORB.openModule("emsMgr", r"emsMgr.idl")
_0_emsMgr__POA = omniORB.openModule("emsMgr__POA", r"emsMgr.idl")


# struct EMS_T
_0_emsMgr.EMS_T = omniORB.newEmptyClass()
class EMS_T (omniORB.StructBase):
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/emsMgr/EMS_T:1.0"

    def __init__(self, name, userLabel, nativeEMSName, owner, emsVersion, type, additionalInfo):
        self.name = name
        self.userLabel = userLabel
        self.nativeEMSName = nativeEMSName
        self.owner = owner
        self.emsVersion = emsVersion
        self.type = type
        self.additionalInfo = additionalInfo

_0_emsMgr.EMS_T = EMS_T
_0_emsMgr._d_EMS_T  = (omniORB.tcInternal.tv_struct, EMS_T, EMS_T._NP_RepositoryId, "EMS_T", "name", omniORB.typeMapping["IDL:mtnm.tmforum.org/globaldefs/NamingAttributes_T:1.0"], "userLabel", (omniORB.tcInternal.tv_string,0), "nativeEMSName", (omniORB.tcInternal.tv_string,0), "owner", (omniORB.tcInternal.tv_string,0), "emsVersion", (omniORB.tcInternal.tv_string,0), "type", (omniORB.tcInternal.tv_string,0), "additionalInfo", omniORB.typeMapping["IDL:mtnm.tmforum.org/globaldefs/NVSList_T:1.0"])
_0_emsMgr._tc_EMS_T = omniORB.tcInternal.createTypeCode(_0_emsMgr._d_EMS_T)
예제 #8
0
_0_JARA_ARM._d_HgMatrix = (omniORB.tcInternal.tv_array,
                           (omniORB.tcInternal.tv_array,
                            omniORB.tcInternal.tv_double, 4), 3)
_0_JARA_ARM._ad_HgMatrix = (omniORB.tcInternal.tv_alias,
                            HgMatrix._NP_RepositoryId, "HgMatrix",
                            (omniORB.tcInternal.tv_array,
                             (omniORB.tcInternal.tv_array,
                              omniORB.tcInternal.tv_double, 4), 3))
_0_JARA_ARM._tc_HgMatrix = omniORB.tcInternal.createTypeCode(
    _0_JARA_ARM._ad_HgMatrix)
omniORB.registerType(HgMatrix._NP_RepositoryId, _0_JARA_ARM._ad_HgMatrix,
                     _0_JARA_ARM._tc_HgMatrix)
del HgMatrix

# struct CarPosWithElbow
_0_JARA_ARM.CarPosWithElbow = omniORB.newEmptyClass()


class CarPosWithElbow(omniORB.StructBase):
    _NP_RepositoryId = "IDL:JARA_ARM/CarPosWithElbow:1.0"

    def __init__(self, carPos, elbow, structFlag):
        self.carPos = carPos
        self.elbow = elbow
        self.structFlag = structFlag


_0_JARA_ARM.CarPosWithElbow = CarPosWithElbow
_0_JARA_ARM._d_CarPosWithElbow = (
    omniORB.tcInternal.tv_struct, CarPosWithElbow,
    CarPosWithElbow._NP_RepositoryId, "CarPosWithElbow", "carPos",
예제 #9
0
        raise RuntimeError("Cannot construct objects of this type.")


_0_CosNaming.Istring = Istring
_0_CosNaming._d_Istring = (omniORB.tcInternal.tv_string, 0)
_0_CosNaming._ad_Istring = (omniORB.tcInternal.tv_alias,
                            Istring._NP_RepositoryId, "Istring",
                            (omniORB.tcInternal.tv_string, 0))
_0_CosNaming._tc_Istring = omniORB.tcInternal.createTypeCode(
    _0_CosNaming._ad_Istring)
omniORB.registerType(Istring._NP_RepositoryId, _0_CosNaming._ad_Istring,
                     _0_CosNaming._tc_Istring)
del Istring

# struct NameComponent
_0_CosNaming.NameComponent = omniORB.newEmptyClass()


class NameComponent(omniORB.StructBase):
    _NP_RepositoryId = "IDL:omg.org/CosNaming/NameComponent:1.0"

    def __init__(self, id, kind):
        self.id = id
        self.kind = kind


_0_CosNaming.NameComponent = NameComponent
_0_CosNaming._d_NameComponent = (
    omniORB.tcInternal.tv_struct, NameComponent,
    NameComponent._NP_RepositoryId, "NameComponent", "id",
    omniORB.typeMapping["IDL:omg.org/CosNaming/Istring:1.0"], "kind",
예제 #10
0
_0_CORBA = omniORB.openModule("omniORB.CORBA")
_0_CORBA__POA = omniORB.openModule("omniORB.CORBA__POA")

#
# Start of module "Compression"
#
__name__ = "omniORB.Compression"
_0_Compression = omniORB.openModule(
    "omniORB.Compression",
    r"/tmp/corba/omni/share/idl/omniORB/compression.idl")
_0_Compression__POA = omniORB.openModule(
    "omniORB.Compression__POA",
    r"/tmp/corba/omni/share/idl/omniORB/compression.idl")

# exception CompressionException
_0_Compression.CompressionException = omniORB.newEmptyClass()


class CompressionException(CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/Compression/CompressionException:1.0"

    def __init__(self, reason, description):
        CORBA.UserException.__init__(self, reason, description)
        self.reason = reason
        self.description = description


_0_Compression.CompressionException = CompressionException
_0_Compression._d_CompressionException = (
    omniORB.tcInternal.tv_except, CompressionException,
    CompressionException._NP_RepositoryId, "CompressionException", "reason",
예제 #11
0
#
# Start of module "CosPersistencePO"
#
__name__ = "CosPersistencePO"
_0_CosPersistencePO = omniORB.openModule(
    "CosPersistencePO", r"..\..\..\..\..\idl\COS\CosPersistencePO.idl")
_0_CosPersistencePO__POA = omniORB.openModule(
    "CosPersistencePO__POA", r"..\..\..\..\..\idl\COS\CosPersistencePO.idl")

# interface PO
_0_CosPersistencePO._d_PO = (omniORB.tcInternal.tv_objref,
                             "IDL:omg.org/CosPersistencePO/PO:1.0", "PO")
omniORB.typeMapping[
    "IDL:omg.org/CosPersistencePO/PO:1.0"] = _0_CosPersistencePO._d_PO
_0_CosPersistencePO.PO = omniORB.newEmptyClass()


class PO:
    _NP_RepositoryId = _0_CosPersistencePO._d_PO[1]

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

    _nil = CORBA.Object._nil


_0_CosPersistencePO.PO = PO
_0_CosPersistencePO._tc_PO = omniORB.tcInternal.createTypeCode(
    _0_CosPersistencePO._d_PO)
omniORB.registerType(PO._NP_RepositoryId, _0_CosPersistencePO._d_PO,
예제 #12
0
파일: Robot_idl.py 프로젝트: tmosmant/corba
#
# Start of module "fr.upem"
#
__name__ = "fr.upem"
_0_fr.upem = omniORB.openModule("fr.upem", r"Robot.idl")
_0_fr__POA.upem = omniORB.openModule("fr__POA.upem", r"Robot.idl")

#
# Start of module "fr.upem.robot"
#
__name__ = "fr.upem.robot"
_0_fr.upem.robot = omniORB.openModule("fr.upem.robot", r"Robot.idl")
_0_fr__POA.upem.robot = omniORB.openModule("fr__POA.upem.robot", r"Robot.idl")

# struct Position
_0_fr.upem.robot.Position = omniORB.newEmptyClass()


class Position(omniORB.StructBase):
    _NP_RepositoryId = "IDL:fr/upem/robot/Position:1.0"

    def __init__(self, posX, posY):
        self.posX = posX
        self.posY = posY


_0_fr.upem.robot.Position = Position
_0_fr.upem.robot._d_Position = (omniORB.tcInternal.tv_struct, Position,
                                Position._NP_RepositoryId, "Position", "posX",
                                omniORB.tcInternal.tv_long, "posY",
                                omniORB.tcInternal.tv_long)
예제 #13
0
#
# Start of module "mtnmVersion"
#
__name__ = "mtnmVersion"
_0_mtnmVersion = omniORB.openModule("mtnmVersion", r"mtnmVersion.idl")
_0_mtnmVersion__POA = omniORB.openModule("mtnmVersion__POA",
                                         r"mtnmVersion.idl")

# interface Version_I
_0_mtnmVersion._d_Version_I = (
    omniORB.tcInternal.tv_objref,
    "IDL:mtnm.tmforum.org/mtnmVersion/Version_I:1.0", "Version_I")
omniORB.typeMapping[
    "IDL:mtnm.tmforum.org/mtnmVersion/Version_I:1.0"] = _0_mtnmVersion._d_Version_I
_0_mtnmVersion.Version_I = omniORB.newEmptyClass()


class Version_I:
    _NP_RepositoryId = _0_mtnmVersion._d_Version_I[1]

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

    _nil = CORBA.Object._nil


_0_mtnmVersion.Version_I = Version_I
_0_mtnmVersion._tc_Version_I = omniORB.tcInternal.createTypeCode(
    _0_mtnmVersion._d_Version_I)
omniORB.registerType(Version_I._NP_RepositoryId, _0_mtnmVersion._d_Version_I,
__name__ = "CosExternalizationContainment"
_0_CosExternalizationContainment = omniORB.openModule(
    "CosExternalizationContainment",
    r"..\..\..\..\..\idl\COS\CosExternalizationContainment.idl")
_0_CosExternalizationContainment__POA = omniORB.openModule(
    "CosExternalizationContainment__POA",
    r"..\..\..\..\..\idl\COS\CosExternalizationContainment.idl")

# interface Relationship
_0_CosExternalizationContainment._d_Relationship = (
    omniORB.tcInternal.tv_objref,
    "IDL:omg.org/CosExternalizationContainment/Relationship:1.0",
    "Relationship")
omniORB.typeMapping[
    "IDL:omg.org/CosExternalizationContainment/Relationship:1.0"] = _0_CosExternalizationContainment._d_Relationship
_0_CosExternalizationContainment.Relationship = omniORB.newEmptyClass()


class Relationship(_0_CosStream.Relationship, _0_CosContainment.Relationship):
    _NP_RepositoryId = _0_CosExternalizationContainment._d_Relationship[1]

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

    _nil = CORBA.Object._nil


_0_CosExternalizationContainment.Relationship = Relationship
_0_CosExternalizationContainment._tc_Relationship = omniORB.tcInternal.createTypeCode(
    _0_CosExternalizationContainment._d_Relationship)
omniORB.registerType(Relationship._NP_RepositoryId,
예제 #15
0
import CosGraphs_idl
_0_CosGraphs = omniORB.openModule("CosGraphs")
_0_CosGraphs__POA = omniORB.openModule("CosGraphs__POA")

#
# Start of module "CosReference"
#
__name__ = "CosReference"
_0_CosReference = omniORB.openModule("CosReference", r"/usr/local/share/idl/omniORB/COS/CosReference.idl")
_0_CosReference__POA = omniORB.openModule("CosReference__POA", r"/usr/local/share/idl/omniORB/COS/CosReference.idl")


# interface Relationship
_0_CosReference._d_Relationship = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosReference/Relationship:1.0", "Relationship")
omniORB.typeMapping["IDL:omg.org/CosReference/Relationship:1.0"] = _0_CosReference._d_Relationship
_0_CosReference.Relationship = omniORB.newEmptyClass()
class Relationship (_0_CosRelationships.Relationship):
    _NP_RepositoryId = _0_CosReference._d_Relationship[1]

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

    _nil = CORBA.Object._nil


_0_CosReference.Relationship = Relationship
_0_CosReference._tc_Relationship = omniORB.tcInternal.createTypeCode(_0_CosReference._d_Relationship)
omniORB.registerType(Relationship._NP_RepositoryId, _0_CosReference._d_Relationship, _0_CosReference._tc_Relationship)

# Relationship object reference
class _objref_Relationship (_0_CosRelationships._objref_Relationship):
예제 #16
0
class NamingContext:
    _NP_RepositoryId = _0_CosNaming._d_NamingContext[1]

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

    _nil = CORBA.Object._nil

    # enum NotFoundReason
    missing_node = omniORB.EnumItem("missing_node", 0)
    not_context = omniORB.EnumItem("not_context", 1)
    not_object = omniORB.EnumItem("not_object", 2)
    NotFoundReason = omniORB.Enum(
        "IDL:omg.org/CosNaming/NamingContext/NotFoundReason:1.0", (
            missing_node,
            not_context,
            not_object,
        ))

    _d_NotFoundReason = (omniORB.tcInternal.tv_enum,
                         NotFoundReason._NP_RepositoryId, "NotFoundReason",
                         NotFoundReason._items)
    _tc_NotFoundReason = omniORB.tcInternal.createTypeCode(_d_NotFoundReason)
    omniORB.registerType(NotFoundReason._NP_RepositoryId, _d_NotFoundReason,
                         _tc_NotFoundReason)

    # exception NotFound
    _0_CosNaming.NamingContext.NotFound = omniORB.newEmptyClass()

    class NotFound(CORBA.UserException):
        _NP_RepositoryId = "IDL:omg.org/CosNaming/NamingContext/NotFound:1.0"

        _NP_ClassName = "CosNaming.NamingContext.NotFound"

        def __init__(self, why, rest_of_name):
            CORBA.UserException.__init__(self, why, rest_of_name)
            self.why = why
            self.rest_of_name = rest_of_name

    _d_NotFound = (
        omniORB.tcInternal.tv_except, NotFound, NotFound._NP_RepositoryId,
        "NotFound", "why", omniORB.
        typeMapping["IDL:omg.org/CosNaming/NamingContext/NotFoundReason:1.0"],
        "rest_of_name", omniORB.typeMapping["IDL:omg.org/CosNaming/Name:1.0"])
    _tc_NotFound = omniORB.tcInternal.createTypeCode(_d_NotFound)
    omniORB.registerType(NotFound._NP_RepositoryId, _d_NotFound, _tc_NotFound)

    # exception CannotProceed
    _0_CosNaming.NamingContext.CannotProceed = omniORB.newEmptyClass()

    class CannotProceed(CORBA.UserException):
        _NP_RepositoryId = "IDL:omg.org/CosNaming/NamingContext/CannotProceed:1.0"

        _NP_ClassName = "CosNaming.NamingContext.CannotProceed"

        def __init__(self, cxt, rest_of_name):
            CORBA.UserException.__init__(self, cxt, rest_of_name)
            self.cxt = cxt
            self.rest_of_name = rest_of_name

    _d_CannotProceed = (
        omniORB.tcInternal.tv_except, CannotProceed,
        CannotProceed._NP_RepositoryId, "CannotProceed", "cxt",
        omniORB.typeMapping["IDL:omg.org/CosNaming/NamingContext:1.0"],
        "rest_of_name", omniORB.typeMapping["IDL:omg.org/CosNaming/Name:1.0"])
    _tc_CannotProceed = omniORB.tcInternal.createTypeCode(_d_CannotProceed)
    omniORB.registerType(CannotProceed._NP_RepositoryId, _d_CannotProceed,
                         _tc_CannotProceed)

    # exception InvalidName
    _0_CosNaming.NamingContext.InvalidName = omniORB.newEmptyClass()

    class InvalidName(CORBA.UserException):
        _NP_RepositoryId = "IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0"

        _NP_ClassName = "CosNaming.NamingContext.InvalidName"

        def __init__(self):
            CORBA.UserException.__init__(self)

    _d_InvalidName = (omniORB.tcInternal.tv_except, InvalidName,
                      InvalidName._NP_RepositoryId, "InvalidName")
    _tc_InvalidName = omniORB.tcInternal.createTypeCode(_d_InvalidName)
    omniORB.registerType(InvalidName._NP_RepositoryId, _d_InvalidName,
                         _tc_InvalidName)

    # exception AlreadyBound
    _0_CosNaming.NamingContext.AlreadyBound = omniORB.newEmptyClass()

    class AlreadyBound(CORBA.UserException):
        _NP_RepositoryId = "IDL:omg.org/CosNaming/NamingContext/AlreadyBound:1.0"

        _NP_ClassName = "CosNaming.NamingContext.AlreadyBound"

        def __init__(self):
            CORBA.UserException.__init__(self)

    _d_AlreadyBound = (omniORB.tcInternal.tv_except, AlreadyBound,
                       AlreadyBound._NP_RepositoryId, "AlreadyBound")
    _tc_AlreadyBound = omniORB.tcInternal.createTypeCode(_d_AlreadyBound)
    omniORB.registerType(AlreadyBound._NP_RepositoryId, _d_AlreadyBound,
                         _tc_AlreadyBound)

    # exception NotEmpty
    _0_CosNaming.NamingContext.NotEmpty = omniORB.newEmptyClass()

    class NotEmpty(CORBA.UserException):
        _NP_RepositoryId = "IDL:omg.org/CosNaming/NamingContext/NotEmpty:1.0"

        _NP_ClassName = "CosNaming.NamingContext.NotEmpty"

        def __init__(self):
            CORBA.UserException.__init__(self)

    _d_NotEmpty = (omniORB.tcInternal.tv_except, NotEmpty,
                   NotEmpty._NP_RepositoryId, "NotEmpty")
    _tc_NotEmpty = omniORB.tcInternal.createTypeCode(_d_NotEmpty)
    omniORB.registerType(NotEmpty._NP_RepositoryId, _d_NotEmpty, _tc_NotEmpty)
예제 #17
0
from omniORB import CORBA, PortableServer
_0_CORBA = CORBA

_omnipy.checkVersion(3,0, __file__)


#
# Start of module "_GlobalIDL"
#
__name__ = "_GlobalIDL"
_0__GlobalIDL = omniORB.openModule("_GlobalIDL", r"idl/SpreadSheet.idl")
_0__GlobalIDL__POA = omniORB.openModule("_GlobalIDL__POA", r"idl/SpreadSheet.idl")


# struct StringLine
_0__GlobalIDL.StringLine = omniORB.newEmptyClass()
class StringLine (omniORB.StructBase):
    _NP_RepositoryId = "IDL:StringLine:1.0"

    def __init__(self, value):
        self.value = value

_0__GlobalIDL.StringLine = StringLine
_0__GlobalIDL._d_StringLine  = (omniORB.tcInternal.tv_struct, StringLine, StringLine._NP_RepositoryId, "StringLine", "value", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0))
_0__GlobalIDL._tc_StringLine = omniORB.tcInternal.createTypeCode(_0__GlobalIDL._d_StringLine)
omniORB.registerType(StringLine._NP_RepositoryId, _0__GlobalIDL._d_StringLine, _0__GlobalIDL._tc_StringLine)
del StringLine

# typedef ... StringList
class StringList:
    _NP_RepositoryId = "IDL:StringList:1.0"
예제 #18
0
class NamingContextExt(_0_CosNaming.NamingContext):
    _NP_RepositoryId = _0_CosNaming._d_NamingContextExt[1]

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

    _nil = CORBA.Object._nil

    # typedef ... StringName
    class StringName:
        _NP_RepositoryId = "IDL:omg.org/CosNaming/NamingContextExt/StringName:1.0"

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

    _d_StringName = (omniORB.tcInternal.tv_string, 0)
    _ad_StringName = (omniORB.tcInternal.tv_alias, StringName._NP_RepositoryId,
                      "StringName", (omniORB.tcInternal.tv_string, 0))
    _tc_StringName = omniORB.tcInternal.createTypeCode(_ad_StringName)
    omniORB.registerType(StringName._NP_RepositoryId, _ad_StringName,
                         _tc_StringName)

    # typedef ... Address
    class Address:
        _NP_RepositoryId = "IDL:omg.org/CosNaming/NamingContextExt/Address:1.0"

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

    _d_Address = (omniORB.tcInternal.tv_string, 0)
    _ad_Address = (omniORB.tcInternal.tv_alias, Address._NP_RepositoryId,
                   "Address", (omniORB.tcInternal.tv_string, 0))
    _tc_Address = omniORB.tcInternal.createTypeCode(_ad_Address)
    omniORB.registerType(Address._NP_RepositoryId, _ad_Address, _tc_Address)

    # typedef ... URLString
    class URLString:
        _NP_RepositoryId = "IDL:omg.org/CosNaming/NamingContextExt/URLString:1.0"

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

    _d_URLString = (omniORB.tcInternal.tv_string, 0)
    _ad_URLString = (omniORB.tcInternal.tv_alias, URLString._NP_RepositoryId,
                     "URLString", (omniORB.tcInternal.tv_string, 0))
    _tc_URLString = omniORB.tcInternal.createTypeCode(_ad_URLString)
    omniORB.registerType(URLString._NP_RepositoryId, _ad_URLString,
                         _tc_URLString)

    # exception InvalidAddress
    _0_CosNaming.NamingContextExt.InvalidAddress = omniORB.newEmptyClass()

    class InvalidAddress(CORBA.UserException):
        _NP_RepositoryId = "IDL:omg.org/CosNaming/NamingContextExt/InvalidAddress:1.0"

        _NP_ClassName = "CosNaming.NamingContextExt.InvalidAddress"

        def __init__(self):
            CORBA.UserException.__init__(self)

    _d_InvalidAddress = (omniORB.tcInternal.tv_except, InvalidAddress,
                         InvalidAddress._NP_RepositoryId, "InvalidAddress")
    _tc_InvalidAddress = omniORB.tcInternal.createTypeCode(_d_InvalidAddress)
    omniORB.registerType(InvalidAddress._NP_RepositoryId, _d_InvalidAddress,
                         _tc_InvalidAddress)
_0_RTC = omniORB.openModule("RTC", r"idl\ManipulatorCommonInterface_Common.idl")
_0_RTC__POA = omniORB.openModule("RTC__POA", r"idl\ManipulatorCommonInterface_Common.idl")


# enum AlarmType
_0_RTC.FAULT = omniORB.EnumItem("FAULT", 0)
_0_RTC.WARNING = omniORB.EnumItem("WARNING", 1)
_0_RTC.UNKNOWN = omniORB.EnumItem("UNKNOWN", 2)
_0_RTC.AlarmType = omniORB.Enum("IDL:RTC/AlarmType:1.0", (_0_RTC.FAULT, _0_RTC.WARNING, _0_RTC.UNKNOWN,))

_0_RTC._d_AlarmType  = (omniORB.tcInternal.tv_enum, _0_RTC.AlarmType._NP_RepositoryId, "AlarmType", _0_RTC.AlarmType._items)
_0_RTC._tc_AlarmType = omniORB.tcInternal.createTypeCode(_0_RTC._d_AlarmType)
omniORB.registerType(_0_RTC.AlarmType._NP_RepositoryId, _0_RTC._d_AlarmType, _0_RTC._tc_AlarmType)

# struct Alarm
_0_RTC.Alarm = omniORB.newEmptyClass()
class Alarm (omniORB.StructBase):
    _NP_RepositoryId = "IDL:RTC/Alarm:1.0"

    def __init__(self, code, type, description):
        self.code = code
        self.type = type
        self.description = description

_0_RTC.Alarm = Alarm
_0_RTC._d_Alarm  = (omniORB.tcInternal.tv_struct, Alarm, Alarm._NP_RepositoryId, "Alarm", "code", omniORB.tcInternal.tv_ulong, "type", omniORB.typeMapping["IDL:RTC/AlarmType:1.0"], "description", (omniORB.tcInternal.tv_string,0))
_0_RTC._tc_Alarm = omniORB.tcInternal.createTypeCode(_0_RTC._d_Alarm)
omniORB.registerType(Alarm._NP_RepositoryId, _0_RTC._d_Alarm, _0_RTC._tc_Alarm)
del Alarm

# typedef ... AlarmSeq
예제 #20
0
# #include "CosGraphs.idl"
import CosGraphs_idl
_0_CosGraphs = omniORB.openModule("CosGraphs")
_0_CosGraphs__POA = omniORB.openModule("CosGraphs__POA")

#
# Start of module "CosStream"
#
__name__ = "CosStream"
_0_CosStream = omniORB.openModule("CosStream",
                                  r"..\..\..\..\..\idl\COS\CosStream.idl")
_0_CosStream__POA = omniORB.openModule(
    "CosStream__POA", r"..\..\..\..\..\idl\COS\CosStream.idl")

# exception ObjectCreationError
_0_CosStream.ObjectCreationError = omniORB.newEmptyClass()


class ObjectCreationError(CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosStream/ObjectCreationError:1.0"

    def __init__(self):
        CORBA.UserException.__init__(self)


_0_CosStream.ObjectCreationError = ObjectCreationError
_0_CosStream._d_ObjectCreationError = (omniORB.tcInternal.tv_except,
                                       ObjectCreationError,
                                       ObjectCreationError._NP_RepositoryId,
                                       "ObjectCreationError")
_0_CosStream._tc_ObjectCreationError = omniORB.tcInternal.createTypeCode(
예제 #21
0
del RepositoryId

# typedef ... VersionSpec
class VersionSpec:
    _NP_RepositoryId = "IDL:omg.org/CORBA/VersionSpec:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CORBA.VersionSpec = VersionSpec
_0_CORBA._d_VersionSpec  = (omniORB.tcInternal.tv_string,0)
_0_CORBA._ad_VersionSpec = (omniORB.tcInternal.tv_alias, VersionSpec._NP_RepositoryId, "VersionSpec", (omniORB.tcInternal.tv_string,0))
_0_CORBA._tc_VersionSpec = omniORB.tcInternal.createTypeCode(_0_CORBA._ad_VersionSpec)
omniORB.registerType(VersionSpec._NP_RepositoryId, _0_CORBA._ad_VersionSpec, _0_CORBA._tc_VersionSpec)
del VersionSpec

# struct StructMember
_0_CORBA.StructMember = omniORB.newEmptyClass()
class StructMember (omniORB.StructBase):
    _NP_RepositoryId = "IDL:omg.org/CORBA/StructMember:1.0"

    def __init__(self, name, type, type_def):
        self.name = name
        self.type = type
        self.type_def = type_def

_0_CORBA.StructMember = StructMember
_0_CORBA._d_StructMember  = (omniORB.tcInternal.tv_struct, StructMember, StructMember._NP_RepositoryId, "StructMember", "name", omniORB.typeMapping["IDL:omg.org/CORBA/Identifier:1.0"], "type", omniORB.tcInternal.tv_TypeCode, "type_def", omniORB.typeMapping["IDL:omg.org/CORBA/IDLType:1.0"])
_0_CORBA._tc_StructMember = omniORB.tcInternal.createTypeCode(_0_CORBA._d_StructMember)
omniORB.registerType(StructMember._NP_RepositoryId, _0_CORBA._d_StructMember, _0_CORBA._tc_StructMember)
del StructMember

# typedef ... StructMemberSeq
import CosStream_idl
_0_CosStream = omniORB.openModule("CosStream")
_0_CosStream__POA = omniORB.openModule("CosStream__POA")

#
# Start of module "CosExternalizationReference"
#
__name__ = "CosExternalizationReference"
_0_CosExternalizationReference = omniORB.openModule("CosExternalizationReference", r"..\..\..\..\..\idl\COS\CosExternalizationReference.idl")
_0_CosExternalizationReference__POA = omniORB.openModule("CosExternalizationReference__POA", r"..\..\..\..\..\idl\COS\CosExternalizationReference.idl")


# interface Relationship
_0_CosExternalizationReference._d_Relationship = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosExternalizationReference/Relationship:1.0", "Relationship")
omniORB.typeMapping["IDL:omg.org/CosExternalizationReference/Relationship:1.0"] = _0_CosExternalizationReference._d_Relationship
_0_CosExternalizationReference.Relationship = omniORB.newEmptyClass()
class Relationship (_0_CosStream.Relationship, _0_CosReference.Relationship):
    _NP_RepositoryId = _0_CosExternalizationReference._d_Relationship[1]

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

    _nil = CORBA.Object._nil


_0_CosExternalizationReference.Relationship = Relationship
_0_CosExternalizationReference._tc_Relationship = omniORB.tcInternal.createTypeCode(_0_CosExternalizationReference._d_Relationship)
omniORB.registerType(Relationship._NP_RepositoryId, _0_CosExternalizationReference._d_Relationship, _0_CosExternalizationReference._tc_Relationship)

# Relationship object reference
class _objref_Relationship (_0_CosStream._objref_Relationship, _0_CosReference._objref_Relationship):
예제 #23
0
del TNAName_T

# typedef ... TNAList_T
class TNAList_T:
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/mLSNPP/TNAList_T:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_mLSNPP.TNAList_T = TNAList_T
_0_mLSNPP._d_TNAList_T  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:mtnm.tmforum.org/mLSNPP/TNAName_T:1.0"], 0)
_0_mLSNPP._ad_TNAList_T = (omniORB.tcInternal.tv_alias, TNAList_T._NP_RepositoryId, "TNAList_T", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:mtnm.tmforum.org/mLSNPP/TNAName_T:1.0"], 0))
_0_mLSNPP._tc_TNAList_T = omniORB.tcInternal.createTypeCode(_0_mLSNPP._ad_TNAList_T)
omniORB.registerType(TNAList_T._NP_RepositoryId, _0_mLSNPP._ad_TNAList_T, _0_mLSNPP._tc_TNAList_T)
del TNAList_T

# struct SNP_T
_0_mLSNPP.SNP_T = omniORB.newEmptyClass()
class SNP_T (omniORB.StructBase):
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/mLSNPP/SNP_T:1.0"

    def __init__(self, sNPId, tPName, tNAName):
        self.sNPId = sNPId
        self.tPName = tPName
        self.tNAName = tNAName

_0_mLSNPP.SNP_T = SNP_T
_0_mLSNPP._d_SNP_T  = (omniORB.tcInternal.tv_struct, SNP_T, SNP_T._NP_RepositoryId, "SNP_T", "sNPId", (omniORB.tcInternal.tv_string,0), "tPName", omniORB.typeMapping["IDL:mtnm.tmforum.org/globaldefs/NamingAttributes_T:1.0"], "tNAName", omniORB.typeMapping["IDL:mtnm.tmforum.org/mLSNPP/TNAName_T:1.0"])
_0_mLSNPP._tc_SNP_T = omniORB.tcInternal.createTypeCode(_0_mLSNPP._d_SNP_T)
omniORB.registerType(SNP_T._NP_RepositoryId, _0_mLSNPP._d_SNP_T, _0_mLSNPP._tc_SNP_T)
del SNP_T

# typedef ... SNPList_T
예제 #24
0
    _0_CORBA.VM_ABSTRACT,
    None,
    _0_CORBA.tcInternal.tv_null,
)
_0_CORBA._tc_DIIPollable = omniORB.tcInternal.createTypeCode(
    _0_CORBA._d_DIIPollable)
omniORB.registerType(DIIPollable._NP_RepositoryId, _0_CORBA._d_DIIPollable,
                     _0_CORBA._tc_DIIPollable)
del DIIPollable

# interface PollableSet
_0_CORBA._d_PollableSet = (omniORB.tcInternal.tv_objref,
                           "IDL:omg.org/CORBA/PollableSet:1.0", "PollableSet")
omniORB.typeMapping[
    "IDL:omg.org/CORBA/PollableSet:1.0"] = _0_CORBA._d_PollableSet
_0_CORBA.PollableSet = omniORB.newEmptyClass()


class PollableSet:
    _NP_RepositoryId = _0_CORBA._d_PollableSet[1]

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

    _nil = CORBA.Object._nil

    # exception NoPossiblePollable
    _0_CORBA.PollableSet.NoPossiblePollable = omniORB.newEmptyClass()

    class NoPossiblePollable(CORBA.UserException):
        _NP_RepositoryId = "IDL:omg.org/CORBA/PollableSet/NoPossiblePollable:1.0"
예제 #25
0
_omnipy.checkVersion(3,0, __file__)


#
# Start of module "Writer"
#
__name__ = "Writer"
_0_Writer = omniORB.openModule("Writer", r"idl/Writer.idl")
_0_Writer__POA = omniORB.openModule("Writer__POA", r"idl/Writer.idl")


# interface mWriter
_0_Writer._d_mWriter = (omniORB.tcInternal.tv_objref, "IDL:Writer/mWriter:1.0", "mWriter")
omniORB.typeMapping["IDL:Writer/mWriter:1.0"] = _0_Writer._d_mWriter
_0_Writer.mWriter = omniORB.newEmptyClass()
class mWriter :
    _NP_RepositoryId = _0_Writer._d_mWriter[1]

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

    _nil = CORBA.Object._nil


_0_Writer.mWriter = mWriter
_0_Writer._tc_mWriter = omniORB.tcInternal.createTypeCode(_0_Writer._d_mWriter)
omniORB.registerType(mWriter._NP_RepositoryId, _0_Writer._d_mWriter, _0_Writer._tc_mWriter)

# mWriter operations and attributes
mWriter._d_oCurrentCursorPositionX = ((), (omniORB.tcInternal.tv_float, ), None)
예제 #26
0
omniORB.registerType(_0_transmissionDescriptor.ServiceCategory_T._NP_RepositoryId, _0_transmissionDescriptor._d_ServiceCategory_T, _0_transmissionDescriptor._tc_ServiceCategory_T)

# typedef ... TrafficParameterList_T
class TrafficParameterList_T:
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/transmissionDescriptor/TrafficParameterList_T:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_transmissionDescriptor.TrafficParameterList_T = TrafficParameterList_T
_0_transmissionDescriptor._d_TrafficParameterList_T  = omniORB.typeMapping["IDL:mtnm.tmforum.org/globaldefs/NVSList_T:1.0"]
_0_transmissionDescriptor._ad_TrafficParameterList_T = (omniORB.tcInternal.tv_alias, TrafficParameterList_T._NP_RepositoryId, "TrafficParameterList_T", omniORB.typeCodeMapping["IDL:mtnm.tmforum.org/globaldefs/NVSList_T:1.0"]._d)
_0_transmissionDescriptor._tc_TrafficParameterList_T = omniORB.tcInternal.createTypeCode(_0_transmissionDescriptor._ad_TrafficParameterList_T)
omniORB.registerType(TrafficParameterList_T._NP_RepositoryId, _0_transmissionDescriptor._ad_TrafficParameterList_T, _0_transmissionDescriptor._tc_TrafficParameterList_T)
del TrafficParameterList_T

# struct TransmissionDescriptor_T
_0_transmissionDescriptor.TransmissionDescriptor_T = omniORB.newEmptyClass()
class TransmissionDescriptor_T (omniORB.StructBase):
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/transmissionDescriptor/TransmissionDescriptor_T:1.0"

    def __init__(self, name, userLabel, nativeEMSName, owner, transmissionParams, additionalTPInfo, containingTMDName, externalRepresentationReference, additionalInfo):
        self.name = name
        self.userLabel = userLabel
        self.nativeEMSName = nativeEMSName
        self.owner = owner
        self.transmissionParams = transmissionParams
        self.additionalTPInfo = additionalTPInfo
        self.containingTMDName = containingTMDName
        self.externalRepresentationReference = externalRepresentationReference
        self.additionalInfo = additionalInfo

_0_transmissionDescriptor.TransmissionDescriptor_T = TransmissionDescriptor_T
예제 #27
0
import globaldefs_idl
_0_globaldefs = omniORB.openModule("globaldefs")
_0_globaldefs__POA = omniORB.openModule("globaldefs__POA")

#
# Start of module "nmsSession"
#
__name__ = "nmsSession"
_0_nmsSession = omniORB.openModule("nmsSession", r"nmsSession.idl")
_0_nmsSession__POA = omniORB.openModule("nmsSession__POA", r"nmsSession.idl")


# interface NmsSession_I
_0_nmsSession._d_NmsSession_I = (omniORB.tcInternal.tv_objref, "IDL:mtnm.tmforum.org/nmsSession/NmsSession_I:1.0", "NmsSession_I")
omniORB.typeMapping["IDL:mtnm.tmforum.org/nmsSession/NmsSession_I:1.0"] = _0_nmsSession._d_NmsSession_I
_0_nmsSession.NmsSession_I = omniORB.newEmptyClass()
class NmsSession_I (_0_session.Session_I):
    _NP_RepositoryId = _0_nmsSession._d_NmsSession_I[1]

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

    _nil = CORBA.Object._nil


_0_nmsSession.NmsSession_I = NmsSession_I
_0_nmsSession._tc_NmsSession_I = omniORB.tcInternal.createTypeCode(_0_nmsSession._d_NmsSession_I)
omniORB.registerType(NmsSession_I._NP_RepositoryId, _0_nmsSession._d_NmsSession_I, _0_nmsSession._tc_NmsSession_I)

# NmsSession_I operations and attributes
NmsSession_I._d_eventLossOccurred = ((omniORB.typeMapping["IDL:mtnm.tmforum.org/globaldefs/Time_T:1.0"], (omniORB.tcInternal.tv_string,0)), (), None)
예제 #28
0
#
# Start of module "_OMCIDL"
#
__name__ = "OMPythonIDL._OMCIDL"
_0__OMCIDL = omniORB.openModule("OMPythonIDL._OMCIDL",
                                r"..//Compiler/runtime/omc_communication.idl")
_0__OMCIDL__POA = omniORB.openModule(
    "OMPythonIDL._OMCIDL__POA", r"..//Compiler/runtime/omc_communication.idl")

# interface OmcCommunication
_0__OMCIDL._d_OmcCommunication = (omniORB.tcInternal.tv_objref,
                                  "IDL:OmcCommunication:1.0",
                                  "OmcCommunication")
omniORB.typeMapping[
    "IDL:OmcCommunication:1.0"] = _0__OMCIDL._d_OmcCommunication
_0__OMCIDL.OmcCommunication = omniORB.newEmptyClass()


class OmcCommunication:
    _NP_RepositoryId = _0__OMCIDL._d_OmcCommunication[1]

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

    _nil = CORBA.Object._nil


_0__OMCIDL.OmcCommunication = OmcCommunication
_0__OMCIDL._tc_OmcCommunication = omniORB.tcInternal.createTypeCode(
    _0__OMCIDL._d_OmcCommunication)
omniORB.registerType(OmcCommunication._NP_RepositoryId,
예제 #29
0
except NameError:

    def property(*args):
        return None


#
# Start of module "CosEventComm"
#
__name__ = "CosEventComm"
_0_CosEventComm = omniORB.openModule("CosEventComm", r"/usr/local/share/idl/omniORB/COS/CosEventComm.idl")
_0_CosEventComm__POA = omniORB.openModule("CosEventComm__POA", r"/usr/local/share/idl/omniORB/COS/CosEventComm.idl")


# exception Disconnected
_0_CosEventComm.Disconnected = omniORB.newEmptyClass()


class Disconnected(CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosEventComm/Disconnected:1.0"

    def __init__(self):
        CORBA.UserException.__init__(self)


_0_CosEventComm.Disconnected = Disconnected
_0_CosEventComm._d_Disconnected = (
    omniORB.tcInternal.tv_except,
    Disconnected,
    Disconnected._NP_RepositoryId,
    "Disconnected",
예제 #30
0
#
# Start of module "ITC_INJ_INTL"
#
__name__ = "ITC_INJ_INTL"
_0_ITC_INJ_INTL = omniORB.openModule("ITC_INJ_INTL", r"ITC_INJ_INTL.idl")
_0_ITC_INJ_INTL__POA = omniORB.openModule("ITC_INJ_INTL__POA",
                                          r"ITC_INJ_INTL.idl")

# interface CommandInjectMngr
_0_ITC_INJ_INTL._d_CommandInjectMngr = (
    omniORB.tcInternal.tv_objref, "IDL:ITC_INJ_INTL/CommandInjectMngr:1.0",
    "CommandInjectMngr")
omniORB.typeMapping[
    "IDL:ITC_INJ_INTL/CommandInjectMngr:1.0"] = _0_ITC_INJ_INTL._d_CommandInjectMngr
_0_ITC_INJ_INTL.CommandInjectMngr = omniORB.newEmptyClass()


class CommandInjectMngr(_0_ITC_INJ.CommandInjectMngr):
    _NP_RepositoryId = _0_ITC_INJ_INTL._d_CommandInjectMngr[1]

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

    _nil = CORBA.Object._nil


_0_ITC_INJ_INTL.CommandInjectMngr = CommandInjectMngr
_0_ITC_INJ_INTL._tc_CommandInjectMngr = omniORB.tcInternal.createTypeCode(
    _0_ITC_INJ_INTL._d_CommandInjectMngr)
omniORB.registerType(CommandInjectMngr._NP_RepositoryId,
# #include "CosEventComm.idl"
import CosEventComm_idl
_0_CosEventComm = omniORB.openModule("CosEventComm")
_0_CosEventComm__POA = omniORB.openModule("CosEventComm__POA")

#
# Start of module "CosEventChannelAdmin"
#
__name__ = "CosEventChannelAdmin"
_0_CosEventChannelAdmin = omniORB.openModule("CosEventChannelAdmin", r"/home/alex/calvino/work/omni.d/local/share/idl/omniORB/COS/CosEventChannelAdmin.idl")
_0_CosEventChannelAdmin__POA = omniORB.openModule("CosEventChannelAdmin__POA", r"/home/alex/calvino/work/omni.d/local/share/idl/omniORB/COS/CosEventChannelAdmin.idl")


# exception AlreadyConnected
_0_CosEventChannelAdmin.AlreadyConnected = omniORB.newEmptyClass()
class AlreadyConnected (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0"


_0_CosEventChannelAdmin.AlreadyConnected = AlreadyConnected
_0_CosEventChannelAdmin._d_AlreadyConnected  = (omniORB.tcInternal.tv_except, AlreadyConnected, AlreadyConnected._NP_RepositoryId, "AlreadyConnected")
_0_CosEventChannelAdmin._tc_AlreadyConnected = omniORB.tcInternal.createTypeCode(_0_CosEventChannelAdmin._d_AlreadyConnected)
omniORB.registerType(AlreadyConnected._NP_RepositoryId, _0_CosEventChannelAdmin._d_AlreadyConnected, _0_CosEventChannelAdmin._tc_AlreadyConnected)
del AlreadyConnected

# exception TypeError
_0_CosEventChannelAdmin.TypeError = omniORB.newEmptyClass()
class TypeError (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosEventChannelAdmin/TypeError:1.0"
예제 #32
0
#
# Start of module "CosEventChannelAdmin"
#
__name__ = "CosEventChannelAdmin"
_0_CosEventChannelAdmin = omniORB.openModule(
    "CosEventChannelAdmin",
    r"/home/alex/calvino/work/omni.d/local/share/idl/omniORB/COS/CosEventChannelAdmin.idl"
)
_0_CosEventChannelAdmin__POA = omniORB.openModule(
    "CosEventChannelAdmin__POA",
    r"/home/alex/calvino/work/omni.d/local/share/idl/omniORB/COS/CosEventChannelAdmin.idl"
)

# exception AlreadyConnected
_0_CosEventChannelAdmin.AlreadyConnected = omniORB.newEmptyClass()


class AlreadyConnected(CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0"


_0_CosEventChannelAdmin.AlreadyConnected = AlreadyConnected
_0_CosEventChannelAdmin._d_AlreadyConnected = (
    omniORB.tcInternal.tv_except, AlreadyConnected,
    AlreadyConnected._NP_RepositoryId, "AlreadyConnected")
_0_CosEventChannelAdmin._tc_AlreadyConnected = omniORB.tcInternal.createTypeCode(
    _0_CosEventChannelAdmin._d_AlreadyConnected)
omniORB.registerType(AlreadyConnected._NP_RepositoryId,
                     _0_CosEventChannelAdmin._d_AlreadyConnected,
                     _0_CosEventChannelAdmin._tc_AlreadyConnected)
예제 #33
0
# #include "corbaidl.idl"
import corbaidl_idl
_0_CORBA = omniORB.openModule("omniORB.CORBA")
_0_CORBA__POA = omniORB.openModule("omniORB.CORBA__POA")

#
# Start of module "Compression"
#
__name__ = "omniORB.Compression"
_0_Compression = omniORB.openModule("omniORB.Compression", r"/usr/local/share/idl/omniORB/compression.idl")
_0_Compression__POA = omniORB.openModule("omniORB.Compression__POA", r"/usr/local/share/idl/omniORB/compression.idl")


# exception CompressionException
_0_Compression.CompressionException = omniORB.newEmptyClass()
class CompressionException (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/Compression/CompressionException:1.0"

    def __init__(self, reason, description):
        CORBA.UserException.__init__(self, reason, description)
        self.reason = reason
        self.description = description

_0_Compression.CompressionException = CompressionException
_0_Compression._d_CompressionException  = (omniORB.tcInternal.tv_except, CompressionException, CompressionException._NP_RepositoryId, "CompressionException", "reason", omniORB.tcInternal.tv_long, "description", (omniORB.tcInternal.tv_string,0))
_0_Compression._tc_CompressionException = omniORB.tcInternal.createTypeCode(_0_Compression._d_CompressionException)
omniORB.registerType(CompressionException._NP_RepositoryId, _0_Compression._d_CompressionException, _0_Compression._tc_CompressionException)
del CompressionException

# exception FactoryAlreadyRegistered
예제 #34
0
del InaccuracyT

# typedef ... TdfT
class TdfT:
    _NP_RepositoryId = "IDL:omg.org/TimeBase/TdfT:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_TimeBase.TdfT = TdfT
_0_TimeBase._d_TdfT  = omniORB.tcInternal.tv_short
_0_TimeBase._ad_TdfT = (omniORB.tcInternal.tv_alias, TdfT._NP_RepositoryId, "TdfT", omniORB.tcInternal.tv_short)
_0_TimeBase._tc_TdfT = omniORB.tcInternal.createTypeCode(_0_TimeBase._ad_TdfT)
omniORB.registerType(TdfT._NP_RepositoryId, _0_TimeBase._ad_TdfT, _0_TimeBase._tc_TdfT)
del TdfT

# struct UtcT
_0_TimeBase.UtcT = omniORB.newEmptyClass()
class UtcT (omniORB.StructBase):
    _NP_RepositoryId = "IDL:omg.org/TimeBase/UtcT:1.0"

    def __init__(self, time, inacclo, inacchi, tdf):
        self.time = time
        self.inacclo = inacclo
        self.inacchi = inacchi
        self.tdf = tdf

_0_TimeBase.UtcT = UtcT
_0_TimeBase._d_UtcT  = (omniORB.tcInternal.tv_struct, UtcT, UtcT._NP_RepositoryId, "UtcT", "time", omniORB.typeMapping["IDL:omg.org/TimeBase/TimeT:1.0"], "inacclo", omniORB.tcInternal.tv_ulong, "inacchi", omniORB.tcInternal.tv_ushort, "tdf", omniORB.typeMapping["IDL:omg.org/TimeBase/TdfT:1.0"])
_0_TimeBase._tc_UtcT = omniORB.tcInternal.createTypeCode(_0_TimeBase._d_UtcT)
omniORB.registerType(UtcT._NP_RepositoryId, _0_TimeBase._d_UtcT, _0_TimeBase._tc_UtcT)
del UtcT

# typedef ... HgMatrix
class HgMatrix:
    _NP_RepositoryId = "IDL:RTC/HgMatrix:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_RTC.HgMatrix = HgMatrix
_0_RTC._d_HgMatrix  = (omniORB.tcInternal.tv_array, (omniORB.tcInternal.tv_array, omniORB.tcInternal.tv_double, 4), 3)
_0_RTC._ad_HgMatrix = (omniORB.tcInternal.tv_alias, HgMatrix._NP_RepositoryId, "HgMatrix", (omniORB.tcInternal.tv_array, (omniORB.tcInternal.tv_array, omniORB.tcInternal.tv_double, 4), 3))
_0_RTC._tc_HgMatrix = omniORB.tcInternal.createTypeCode(_0_RTC._ad_HgMatrix)
omniORB.registerType(HgMatrix._NP_RepositoryId, _0_RTC._ad_HgMatrix, _0_RTC._tc_HgMatrix)
del HgMatrix

# struct CarPosWithElbow
_0_RTC.CarPosWithElbow = omniORB.newEmptyClass()
class CarPosWithElbow (omniORB.StructBase):
    _NP_RepositoryId = "IDL:RTC/CarPosWithElbow:1.0"

    def __init__(self, carPos, elbow, structFlag):
        self.carPos = carPos
        self.elbow = elbow
        self.structFlag = structFlag

_0_RTC.CarPosWithElbow = CarPosWithElbow
_0_RTC._d_CarPosWithElbow  = (omniORB.tcInternal.tv_struct, CarPosWithElbow, CarPosWithElbow._NP_RepositoryId, "CarPosWithElbow", "carPos", omniORB.typeMapping["IDL:RTC/HgMatrix:1.0"], "elbow", omniORB.tcInternal.tv_double, "structFlag", omniORB.typeMapping["IDL:RTC/ULONG:1.0"])
_0_RTC._tc_CarPosWithElbow = omniORB.tcInternal.createTypeCode(_0_RTC._d_CarPosWithElbow)
omniORB.registerType(CarPosWithElbow._NP_RepositoryId, _0_RTC._d_CarPosWithElbow, _0_RTC._tc_CarPosWithElbow)
del CarPosWithElbow

# struct CartesianSpeed
예제 #36
0
_0_Server.FileList = FileList
_0_Server._d_FileList = (omniORB.tcInternal.tv_sequence,
                         (omniORB.tcInternal.tv_string, 0), 0)
_0_Server._ad_FileList = (omniORB.tcInternal.tv_alias,
                          FileList._NP_RepositoryId, "FileList",
                          (omniORB.tcInternal.tv_sequence,
                           (omniORB.tcInternal.tv_string, 0), 0))
_0_Server._tc_FileList = omniORB.tcInternal.createTypeCode(
    _0_Server._ad_FileList)
omniORB.registerType(FileList._NP_RepositoryId, _0_Server._ad_FileList,
                     _0_Server._tc_FileList)
del FileList

# struct ClientName
_0_Server.ClientName = omniORB.newEmptyClass()


class ClientName(omniORB.StructBase):
    _NP_RepositoryId = "IDL:Server/ClientName:1.0"

    def __init__(self, client_name, files):
        self.client_name = client_name
        self.files = files


_0_Server.ClientName = ClientName
_0_Server._d_ClientName = (omniORB.tcInternal.tv_struct, ClientName,
                           ClientName._NP_RepositoryId, "ClientName",
                           "client_name", (omniORB.tcInternal.tv_string,
                                           0), "files",
예제 #37
0
    def property(*args):
        return None


#
# Start of module "_GlobalIdl"
#
__name__ = "_GlobalIdl"
_0__GlobalIdl = omniORB.openModule("_GlobalIdl", r"Service.idl")
_0__GlobalIdl__POA = omniORB.openModule("_GlobalIdl__POA", r"Service.idl")


# interface Service
_0__GlobalIdl._d_Service = (omniORB.tcInternal.tv_objref, "IDL:Service:1.0", "Service")
omniORB.typeMapping["IDL:Service:1.0"] = _0__GlobalIdl._d_Service
_0__GlobalIdl.Service = omniORB.newEmptyClass()
class Service :
    _NP_RepositoryId = _0__GlobalIdl._d_Service[1]

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

    _nil = CORBA.Object._nil


_0__GlobalIdl.Service = Service
_0__GlobalIdl._tc_Service = omniORB.tcInternal.createTypeCode(_0__GlobalIdl._d_Service)
omniORB.registerType(Service._NP_RepositoryId, _0__GlobalIdl._d_Service, _0__GlobalIdl._tc_Service)

# Service operations and attributes
Service._d_ping = ((), (), None)
예제 #38
0
#
# Start of module "hpp"
#
__name__ = "hpp_idl.hpp"
_0_hpp = omniORB.openModule(
    "hpp_idl.hpp",
    r"/local/devel/hpp/src/hpp-corbaserver/idl/hpp/corbaserver/tools.idl")
_0_hpp__POA = omniORB.openModule(
    "hpp_idl.hpp__POA",
    r"/local/devel/hpp/src/hpp-corbaserver/idl/hpp/corbaserver/tools.idl")

# interface Tools
_0_hpp._d_Tools = (omniORB.tcInternal.tv_objref, "IDL:hpp/Tools:1.0", "Tools")
omniORB.typeMapping["IDL:hpp/Tools:1.0"] = _0_hpp._d_Tools
_0_hpp.Tools = omniORB.newEmptyClass()


class Tools:
    _NP_RepositoryId = _0_hpp._d_Tools[1]

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

    _nil = CORBA.Object._nil


_0_hpp.Tools = Tools
_0_hpp._tc_Tools = omniORB.tcInternal.createTypeCode(_0_hpp._d_Tools)
omniORB.registerType(Tools._NP_RepositoryId, _0_hpp._d_Tools, _0_hpp._tc_Tools)
예제 #39
0

# typedef ... ConstraintID
class ConstraintID:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/ConstraintID:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.ConstraintID = ConstraintID
_0_CosNotifyFilter._d_ConstraintID  = omniORB.tcInternal.tv_long
_0_CosNotifyFilter._ad_ConstraintID = (omniORB.tcInternal.tv_alias, ConstraintID._NP_RepositoryId, "ConstraintID", omniORB.tcInternal.tv_long)
_0_CosNotifyFilter._tc_ConstraintID = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_ConstraintID)
omniORB.registerType(ConstraintID._NP_RepositoryId, _0_CosNotifyFilter._ad_ConstraintID, _0_CosNotifyFilter._tc_ConstraintID)
del ConstraintID

# struct ConstraintExp
_0_CosNotifyFilter.ConstraintExp = omniORB.newEmptyClass()
class ConstraintExp (omniORB.StructBase):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0"

    def __init__(self, event_types, constraint_expr):
        self.event_types = event_types
        self.constraint_expr = constraint_expr

_0_CosNotifyFilter.ConstraintExp = ConstraintExp
_0_CosNotifyFilter._d_ConstraintExp  = (omniORB.tcInternal.tv_struct, ConstraintExp, ConstraintExp._NP_RepositoryId, "ConstraintExp", "event_types", omniORB.typeMapping["IDL:omg.org/CosNotification/EventTypeSeq:1.0"], "constraint_expr", (omniORB.tcInternal.tv_string,0))
_0_CosNotifyFilter._tc_ConstraintExp = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_ConstraintExp)
omniORB.registerType(ConstraintExp._NP_RepositoryId, _0_CosNotifyFilter._d_ConstraintExp, _0_CosNotifyFilter._tc_ConstraintExp)
del ConstraintExp

# typedef ... ConstraintIDSeq
class ConstraintIDSeq:
예제 #40
0
    class _omniORB_StructBase:
        pass


#
# Start of module "_GlobalIDL"
#
__name__ = "_GlobalIDL"
_0__GlobalIDL = omniORB.openModule("_GlobalIDL", r"MyService.idl")
_0__GlobalIDL__POA = omniORB.openModule("_GlobalIDL__POA", r"MyService.idl")

# interface MyService
_0__GlobalIDL._d_MyService = (omniORB.tcInternal.tv_objref,
                              "IDL:MyService:1.0", "MyService")
omniORB.typeMapping["IDL:MyService:1.0"] = _0__GlobalIDL._d_MyService
_0__GlobalIDL.MyService = omniORB.newEmptyClass()


class MyService:
    _NP_RepositoryId = _0__GlobalIDL._d_MyService[1]

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

    _nil = CORBA.Object._nil


_0__GlobalIDL.MyService = MyService
_0__GlobalIDL._tc_MyService = omniORB.tcInternal.createTypeCode(
    _0__GlobalIDL._d_MyService)
omniORB.registerType(MyService._NP_RepositoryId, _0__GlobalIDL._d_MyService,
예제 #41
0
_omnipy.checkVersion(2, 0, __file__)


#
# Start of module "Example"
#
__name__ = "Example"
_0_Example = omniORB.openModule("Example", r"example_echo.idl")
_0_Example__POA = omniORB.openModule("Example__POA", r"example_echo.idl")


# interface Echo
_0_Example._d_Echo = (omniORB.tcInternal.tv_objref, "IDL:Example/Echo:1.0", "Echo")
omniORB.typeMapping["IDL:Example/Echo:1.0"] = _0_Example._d_Echo
_0_Example.Echo = omniORB.newEmptyClass()


class Echo:
    _NP_RepositoryId = _0_Example._d_Echo[1]

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

    _nil = CORBA.Object._nil


_0_Example.Echo = Echo
_0_Example._tc_Echo = omniORB.tcInternal.createTypeCode(_0_Example._d_Echo)
omniORB.registerType(Echo._NP_RepositoryId, _0_Example._d_Echo, _0_Example._tc_Echo)
예제 #42
0
_0_RTC__POA = omniORB.openModule("RTC__POA")
# #include "CameraCommonInterface.idl"
import CameraCommonInterface_idl
_0_Img = omniORB.openModule("Img")
_0_Img__POA = omniORB.openModule("Img__POA")

#
# Start of module "RGBDCamera"
#
__name__ = "RGBDCamera"
_0_RGBDCamera = omniORB.openModule("RGBDCamera", r"idl/DepthCamera.idl")
_0_RGBDCamera__POA = omniORB.openModule("RGBDCamera__POA", r"idl/DepthCamera.idl")


# struct DepthImage
_0_RGBDCamera.DepthImage = omniORB.newEmptyClass()
class DepthImage (omniORB.StructBase):
    _NP_RepositoryId = "IDL:RGBDCamera/DepthImage:1.0"

    def __init__(self, width, height, verticalFOV, horizontalFOV, raw_data):
        self.width = width
        self.height = height
        self.verticalFOV = verticalFOV
        self.horizontalFOV = horizontalFOV
        self.raw_data = raw_data

_0_RGBDCamera.DepthImage = DepthImage
_0_RGBDCamera._d_DepthImage  = (omniORB.tcInternal.tv_struct, DepthImage, DepthImage._NP_RepositoryId, "DepthImage", "width", omniORB.tcInternal.tv_long, "height", omniORB.tcInternal.tv_long, "verticalFOV", omniORB.tcInternal.tv_double, "horizontalFOV", omniORB.tcInternal.tv_double, "raw_data", (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_double, 0))
_0_RGBDCamera._tc_DepthImage = omniORB.tcInternal.createTypeCode(_0_RGBDCamera._d_DepthImage)
omniORB.registerType(DepthImage._NP_RepositoryId, _0_RGBDCamera._d_DepthImage, _0_RGBDCamera._tc_DepthImage)
del DepthImage
예제 #43
0
파일: common_idl.py 프로젝트: zintoo/u2000
# typedef ... CapabilityList_T
class CapabilityList_T:
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/common/CapabilityList_T:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_common.CapabilityList_T = CapabilityList_T
_0_common._d_CapabilityList_T  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:mtnm.tmforum.org/common/Capability_T:1.0"], 0)
_0_common._ad_CapabilityList_T = (omniORB.tcInternal.tv_alias, CapabilityList_T._NP_RepositoryId, "CapabilityList_T", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:mtnm.tmforum.org/common/Capability_T:1.0"], 0))
_0_common._tc_CapabilityList_T = omniORB.tcInternal.createTypeCode(_0_common._ad_CapabilityList_T)
omniORB.registerType(CapabilityList_T._NP_RepositoryId, _0_common._ad_CapabilityList_T, _0_common._tc_CapabilityList_T)
del CapabilityList_T

# interface Common_I
_0_common._d_Common_I = (omniORB.tcInternal.tv_objref, "IDL:mtnm.tmforum.org/common/Common_I:1.0", "Common_I")
omniORB.typeMapping["IDL:mtnm.tmforum.org/common/Common_I:1.0"] = _0_common._d_Common_I
_0_common.Common_I = omniORB.newEmptyClass()
class Common_I :
    _NP_RepositoryId = _0_common._d_Common_I[1]

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

    _nil = CORBA.Object._nil


_0_common.Common_I = Common_I
_0_common._tc_Common_I = omniORB.tcInternal.createTypeCode(_0_common._d_Common_I)
omniORB.registerType(Common_I._NP_RepositoryId, _0_common._d_Common_I, _0_common._tc_Common_I)

# Common_I operations and attributes
Common_I._d_setNativeEMSName = ((omniORB.typeMapping["IDL:mtnm.tmforum.org/globaldefs/NamingAttributes_T:1.0"], (omniORB.tcInternal.tv_string,0)), (), {_0_globaldefs.ProcessingFailureException._NP_RepositoryId: _0_globaldefs._d_ProcessingFailureException})
예제 #44
0
    property
except NameError:

    def property(*args):
        return None


#
# Start of module "globaldefs"
#
__name__ = "globaldefs"
_0_globaldefs = omniORB.openModule("globaldefs", r"globaldefs.idl")
_0_globaldefs__POA = omniORB.openModule("globaldefs__POA", r"globaldefs.idl")

# struct NameAndStringValue_T
_0_globaldefs.NameAndStringValue_T = omniORB.newEmptyClass()


class NameAndStringValue_T(omniORB.StructBase):
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/globaldefs/NameAndStringValue_T:1.0"

    def __init__(self, name, value):
        self.name = name
        self.value = value


_0_globaldefs.NameAndStringValue_T = NameAndStringValue_T
_0_globaldefs._d_NameAndStringValue_T = (omniORB.tcInternal.tv_struct,
                                         NameAndStringValue_T,
                                         NameAndStringValue_T._NP_RepositoryId,
                                         "NameAndStringValue_T", "name",
예제 #45
0
_0_terminationPoint._d_TerminationMode_T  = (omniORB.tcInternal.tv_enum, _0_terminationPoint.TerminationMode_T._NP_RepositoryId, "TerminationMode_T", _0_terminationPoint.TerminationMode_T._items)
_0_terminationPoint._tc_TerminationMode_T = omniORB.tcInternal.createTypeCode(_0_terminationPoint._d_TerminationMode_T)
omniORB.registerType(_0_terminationPoint.TerminationMode_T._NP_RepositoryId, _0_terminationPoint._d_TerminationMode_T, _0_terminationPoint._tc_TerminationMode_T)

# enum TPProtectionAssociation_T
_0_terminationPoint.TPPA_NA = omniORB.EnumItem("TPPA_NA", 0)
_0_terminationPoint.TPPA_PSR_RELATED = omniORB.EnumItem("TPPA_PSR_RELATED", 1)
_0_terminationPoint.TPProtectionAssociation_T = omniORB.Enum("IDL:mtnm.tmforum.org/terminationPoint/TPProtectionAssociation_T:1.0", (_0_terminationPoint.TPPA_NA, _0_terminationPoint.TPPA_PSR_RELATED,))

_0_terminationPoint._d_TPProtectionAssociation_T  = (omniORB.tcInternal.tv_enum, _0_terminationPoint.TPProtectionAssociation_T._NP_RepositoryId, "TPProtectionAssociation_T", _0_terminationPoint.TPProtectionAssociation_T._items)
_0_terminationPoint._tc_TPProtectionAssociation_T = omniORB.tcInternal.createTypeCode(_0_terminationPoint._d_TPProtectionAssociation_T)
omniORB.registerType(_0_terminationPoint.TPProtectionAssociation_T._NP_RepositoryId, _0_terminationPoint._d_TPProtectionAssociation_T, _0_terminationPoint._tc_TPProtectionAssociation_T)

# struct TerminationPoint_T
_0_terminationPoint.TerminationPoint_T = omniORB.newEmptyClass()
class TerminationPoint_T (omniORB.StructBase):
    _NP_RepositoryId = "IDL:mtnm.tmforum.org/terminationPoint/TerminationPoint_T:1.0"

    def __init__(self, name, userLabel, nativeEMSName, owner, ingressTrafficDescriptorName, egressTrafficDescriptorName, type, connectionState, tpMappingMode, direction, transmissionParams, tpProtectionAssociation, edgePoint, additionalInfo):
        self.name = name
        self.userLabel = userLabel
        self.nativeEMSName = nativeEMSName
        self.owner = owner
        self.ingressTrafficDescriptorName = ingressTrafficDescriptorName
        self.egressTrafficDescriptorName = egressTrafficDescriptorName
        self.type = type
        self.connectionState = connectionState
        self.tpMappingMode = tpMappingMode
        self.direction = direction
        self.transmissionParams = transmissionParams
예제 #46
0
# Start of module "CosPersistencePDS"
#
__name__ = "CosPersistencePDS"
_0_CosPersistencePDS = omniORB.openModule(
    "CosPersistencePDS",
    r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePDS.idl")
_0_CosPersistencePDS__POA = omniORB.openModule(
    "CosPersistencePDS__POA",
    r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePDS.idl")

# interface PDS
_0_CosPersistencePDS._d_PDS = (omniORB.tcInternal.tv_objref,
                               "IDL:omg.org/CosPersistencePDS/PDS:1.0", "PDS")
omniORB.typeMapping[
    "IDL:omg.org/CosPersistencePDS/PDS:1.0"] = _0_CosPersistencePDS._d_PDS
_0_CosPersistencePDS.PDS = omniORB.newEmptyClass()


class PDS:
    _NP_RepositoryId = _0_CosPersistencePDS._d_PDS[1]

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

    _nil = CORBA.Object._nil


_0_CosPersistencePDS.PDS = PDS
_0_CosPersistencePDS._tc_PDS = omniORB.tcInternal.createTypeCode(
    _0_CosPersistencePDS._d_PDS)
omniORB.registerType(PDS._NP_RepositoryId, _0_CosPersistencePDS._d_PDS,
예제 #47
0
import baci_idl
_0_ACS = omniORB.openModule("ACS")
_0_ACS__POA = omniORB.openModule("ACS__POA")

#
# Start of module "acsdomeServer"
#
__name__ = "acsdomeServer"
_0_acsdomeServer = omniORB.openModule("acsdomeServer", r"../idl/acsdomeServer.idl")
_0_acsdomeServer__POA = omniORB.openModule("acsdomeServer__POA", r"../idl/acsdomeServer.idl")


# interface DomeServer
_0_acsdomeServer._d_DomeServer = (omniORB.tcInternal.tv_objref, "IDL:alma/acsdomeServer/DomeServer:1.0", "DomeServer")
omniORB.typeMapping["IDL:alma/acsdomeServer/DomeServer:1.0"] = _0_acsdomeServer._d_DomeServer
_0_acsdomeServer.DomeServer = omniORB.newEmptyClass()
class DomeServer (_0_ACS.CharacteristicComponent):
    _NP_RepositoryId = _0_acsdomeServer._d_DomeServer[1]

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

    _nil = CORBA.Object._nil


_0_acsdomeServer.DomeServer = DomeServer
_0_acsdomeServer._tc_DomeServer = omniORB.tcInternal.createTypeCode(_0_acsdomeServer._d_DomeServer)
omniORB.registerType(DomeServer._NP_RepositoryId, _0_acsdomeServer._d_DomeServer, _0_acsdomeServer._tc_DomeServer)

# DomeServer operations and attributes
DomeServer._d_displayMessage = ((), (), None)
예제 #48
0
    def property(*args):
        return None


#
# Start of module "EchoApp"
#
__name__ = "EchoApp"
_0_EchoApp = omniORB.openModule("EchoApp", r"echo.idl")
_0_EchoApp__POA = omniORB.openModule("EchoApp__POA", r"echo.idl")


# interface Echo
_0_EchoApp._d_Echo = (omniORB.tcInternal.tv_objref, "IDL:EchoApp/Echo:1.0", "Echo")
omniORB.typeMapping["IDL:EchoApp/Echo:1.0"] = _0_EchoApp._d_Echo
_0_EchoApp.Echo = omniORB.newEmptyClass()
class Echo :
    _NP_RepositoryId = _0_EchoApp._d_Echo[1]

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

    _nil = CORBA.Object._nil


_0_EchoApp.Echo = Echo
_0_EchoApp._tc_Echo = omniORB.tcInternal.createTypeCode(_0_EchoApp._d_Echo)
omniORB.registerType(Echo._NP_RepositoryId, _0_EchoApp._d_Echo, _0_EchoApp._tc_Echo)

# Echo operations and attributes
Echo._d_echoString = (((omniORB.tcInternal.tv_string,0), ), ((omniORB.tcInternal.tv_string,0), ), None)
예제 #49
0
omniORB.registerType(_0_NamingAuthority.RegistrationAuthority._NP_RepositoryId, _0_NamingAuthority._d_RegistrationAuthority, _0_NamingAuthority._tc_RegistrationAuthority)

# typedef ... NamingEntity
class NamingEntity:
    _NP_RepositoryId = "IDL:omg.org/NamingAuthority/NamingEntity:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_NamingAuthority.NamingEntity = NamingEntity
_0_NamingAuthority._d_NamingEntity  = (omniORB.tcInternal.tv_string,0)
_0_NamingAuthority._ad_NamingEntity = (omniORB.tcInternal.tv_alias, NamingEntity._NP_RepositoryId, "NamingEntity", (omniORB.tcInternal.tv_string,0))
_0_NamingAuthority._tc_NamingEntity = omniORB.tcInternal.createTypeCode(_0_NamingAuthority._ad_NamingEntity)
omniORB.registerType(NamingEntity._NP_RepositoryId, _0_NamingAuthority._ad_NamingEntity, _0_NamingAuthority._tc_NamingEntity)
del NamingEntity

# struct AuthorityId
_0_NamingAuthority.AuthorityId = omniORB.newEmptyClass()
class AuthorityId:
    _NP_RepositoryId = "IDL:omg.org/NamingAuthority/AuthorityId:1.0"

    def __init__(self, authority, naming_entity):
        self.authority = authority
        self.naming_entity = naming_entity

_0_NamingAuthority.AuthorityId = AuthorityId
_0_NamingAuthority._d_AuthorityId  = (omniORB.tcInternal.tv_struct, AuthorityId, AuthorityId._NP_RepositoryId, "AuthorityId", "authority", omniORB.typeMapping["IDL:omg.org/NamingAuthority/RegistrationAuthority:1.0"], "naming_entity", omniORB.typeMapping["IDL:omg.org/NamingAuthority/NamingEntity:1.0"])
_0_NamingAuthority._tc_AuthorityId = omniORB.tcInternal.createTypeCode(_0_NamingAuthority._d_AuthorityId)
omniORB.registerType(AuthorityId._NP_RepositoryId, _0_NamingAuthority._d_AuthorityId, _0_NamingAuthority._tc_AuthorityId)
del AuthorityId

# typedef ... AuthorityIdStr
class AuthorityIdStr:
예제 #50
0
__name__ = "ITMSET_PRO"
_0_ITMSET_PRO = omniORB.openModule("ITMSET_PRO", r"ITMSET_PRO.idl")
_0_ITMSET_PRO__POA = omniORB.openModule("ITMSET_PRO__POA", r"ITMSET_PRO.idl")

# forward interface SetMngrView;
_0_ITMSET_PRO._d_SetMngrView = (omniORB.tcInternal.tv_objref,
                                "IDL:ITMSET_PRO/SetMngrView:1.0",
                                "SetMngrView")
omniORB.typeMapping[
    "IDL:ITMSET_PRO/SetMngrView:1.0"] = _0_ITMSET_PRO._d_SetMngrView

# interface SetMngr
_0_ITMSET_PRO._d_SetMngr = (omniORB.tcInternal.tv_objref,
                            "IDL:ITMSET_PRO/SetMngr:1.0", "SetMngr")
omniORB.typeMapping["IDL:ITMSET_PRO/SetMngr:1.0"] = _0_ITMSET_PRO._d_SetMngr
_0_ITMSET_PRO.SetMngr = omniORB.newEmptyClass()


class SetMngr(_0_IBASE_IF.Model):
    _NP_RepositoryId = _0_ITMSET_PRO._d_SetMngr[1]

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

    _nil = CORBA.Object._nil


_0_ITMSET_PRO.SetMngr = SetMngr
_0_ITMSET_PRO._tc_SetMngr = omniORB.tcInternal.createTypeCode(
    _0_ITMSET_PRO._d_SetMngr)
omniORB.registerType(SetMngr._NP_RepositoryId, _0_ITMSET_PRO._d_SetMngr,

# typedef ... NVList
class NVList:
    _NP_RepositoryId = "IDL:RTM/NVList:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_RTM.NVList = NVList
_0_RTM._d_NVList  = omniORB.typeMapping["IDL:org.omg/SDOPackage/NVList:1.0"]
_0_RTM._ad_NVList = (omniORB.tcInternal.tv_alias, NVList._NP_RepositoryId, "NVList", omniORB.typeCodeMapping["IDL:org.omg/SDOPackage/NVList:1.0"]._d)
_0_RTM._tc_NVList = omniORB.tcInternal.createTypeCode(_0_RTM._ad_NVList)
omniORB.registerType(NVList._NP_RepositoryId, _0_RTM._ad_NVList, _0_RTM._tc_NVList)
del NVList

# struct ModuleProfile
_0_RTM.ModuleProfile = omniORB.newEmptyClass()
class ModuleProfile (omniORB.StructBase):
    _NP_RepositoryId = "IDL:RTM/ModuleProfile:1.0"

    def __init__(self, properties):
        self.properties = properties

_0_RTM.ModuleProfile = ModuleProfile
_0_RTM._d_ModuleProfile  = (omniORB.tcInternal.tv_struct, ModuleProfile, ModuleProfile._NP_RepositoryId, "ModuleProfile", "properties", omniORB.typeMapping["IDL:RTM/NVList:1.0"])
_0_RTM._tc_ModuleProfile = omniORB.tcInternal.createTypeCode(_0_RTM._d_ModuleProfile)
omniORB.registerType(ModuleProfile._NP_RepositoryId, _0_RTM._d_ModuleProfile, _0_RTM._tc_ModuleProfile)
del ModuleProfile

# typedef ... ModuleProfileList
class ModuleProfileList:
    _NP_RepositoryId = "IDL:RTM/ModuleProfileList:1.0"
예제 #52
0
_0_ICLOCK._ad_TimeState = (omniORB.tcInternal.tv_alias,
                           TimeState._NP_RepositoryId, "TimeState",
                           omniORB.tcInternal.tv_char)
_0_ICLOCK._tc_TimeState = omniORB.tcInternal.createTypeCode(
    _0_ICLOCK._ad_TimeState)
omniORB.registerType(TimeState._NP_RepositoryId, _0_ICLOCK._ad_TimeState,
                     _0_ICLOCK._tc_TimeState)
del TimeState
_0_ICLOCK.OK = "O"
_0_ICLOCK.TOO_EARLY = "E"
_0_ICLOCK.TOO_LATE = "L"
_0_ICLOCK.INVALID = "I"
_0_ICLOCK.TOO_MANY_STREAMS = "T"

# exception NotPossible
_0_ICLOCK.NotPossible = omniORB.newEmptyClass()


class NotPossible(CORBA.UserException):
    _NP_RepositoryId = "IDL:ICLOCK/NotPossible:1.0"

    def __init__(self, m_reason):
        CORBA.UserException.__init__(self, m_reason)
        self.m_reason = m_reason


_0_ICLOCK.NotPossible = NotPossible
_0_ICLOCK._d_NotPossible = (omniORB.tcInternal.tv_except, NotPossible,
                            NotPossible._NP_RepositoryId, "NotPossible",
                            "m_reason",
                            omniORB.typeMapping["IDL:ICLOCK/TimeState:1.0"])
예제 #53
0
_0_PersonIdTraits._d_ExternalIdsType = omniORB.typeMapping["IDL:omg.org/PersonIdService/QualifiedPersonIdSeq:1.0"]
_0_PersonIdTraits._ad_ExternalIdsType = (
    omniORB.tcInternal.tv_alias,
    ExternalIdsType._NP_RepositoryId,
    "ExternalIdsType",
    omniORB.typeCodeMapping["IDL:omg.org/PersonIdService/QualifiedPersonIdSeq:1.0"]._d,
)
_0_PersonIdTraits._tc_ExternalIdsType = omniORB.tcInternal.createTypeCode(_0_PersonIdTraits._ad_ExternalIdsType)
omniORB.registerType(
    ExternalIdsType._NP_RepositoryId, _0_PersonIdTraits._ad_ExternalIdsType, _0_PersonIdTraits._tc_ExternalIdsType
)
del ExternalIdsType
_0_PersonIdTraits.NATIONAL_HEALTH_IDS = "PIDS/NationalHealthId"

# struct NationalHealthIdStruct
_0_PersonIdTraits.NationalHealthIdStruct = omniORB.newEmptyClass()


class NationalHealthIdStruct:
    _NP_RepositoryId = "IDL:omg.org/PersonIdTraits/NationalHealthIdStruct:1.0"

    def __init__(self, country_code, id):
        self.country_code = country_code
        self.id = id


_0_PersonIdTraits.NationalHealthIdStruct = NationalHealthIdStruct
_0_PersonIdTraits._d_NationalHealthIdStruct = (
    omniORB.tcInternal.tv_struct,
    NationalHealthIdStruct,
    NationalHealthIdStruct._NP_RepositoryId,
예제 #54
0
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")


_0_ITC_INJ.ObqmID = ObqmID
_0_ITC_INJ._d_ObqmID = omniORB.tcInternal.tv_ushort
_0_ITC_INJ._ad_ObqmID = (omniORB.tcInternal.tv_alias, ObqmID._NP_RepositoryId,
                         "ObqmID", omniORB.tcInternal.tv_ushort)
_0_ITC_INJ._tc_ObqmID = omniORB.tcInternal.createTypeCode(
    _0_ITC_INJ._ad_ObqmID)
omniORB.registerType(ObqmID._NP_RepositoryId, _0_ITC_INJ._ad_ObqmID,
                     _0_ITC_INJ._tc_ObqmID)
del ObqmID

# struct ObqmSpaceStatus
_0_ITC_INJ.ObqmSpaceStatus = omniORB.newEmptyClass()


class ObqmSpaceStatus(omniORB.StructBase):
    _NP_RepositoryId = "IDL:ITC_INJ/ObqmSpaceStatus:1.0"

    def __init__(self, m_queueId, m_spaceAvailable):
        self.m_queueId = m_queueId
        self.m_spaceAvailable = m_spaceAvailable


_0_ITC_INJ.ObqmSpaceStatus = ObqmSpaceStatus
_0_ITC_INJ._d_ObqmSpaceStatus = (omniORB.tcInternal.tv_struct, ObqmSpaceStatus,
                                 ObqmSpaceStatus._NP_RepositoryId,
                                 "ObqmSpaceStatus", "m_queueId",
                                 omniORB.typeMapping["IDL:ITC_INJ/ObqmID:1.0"],
예제 #55
0
import baci_idl
_0_ACS = omniORB.openModule("ACS")
_0_ACS__POA = omniORB.openModule("ACS__POA")

#
# Start of module "acstelescopeServer"
#
__name__ = "acstelescopeServer"
_0_acstelescopeServer = omniORB.openModule("acstelescopeServer", r"../idl/acstelescopeServer.idl")
_0_acstelescopeServer__POA = omniORB.openModule("acstelescopeServer__POA", r"../idl/acstelescopeServer.idl")


# interface TelescopeServer
_0_acstelescopeServer._d_TelescopeServer = (omniORB.tcInternal.tv_objref, "IDL:alma/acstelescopeServer/TelescopeServer:1.0", "TelescopeServer")
omniORB.typeMapping["IDL:alma/acstelescopeServer/TelescopeServer:1.0"] = _0_acstelescopeServer._d_TelescopeServer
_0_acstelescopeServer.TelescopeServer = omniORB.newEmptyClass()
class TelescopeServer (_0_ACS.CharacteristicComponent):
    _NP_RepositoryId = _0_acstelescopeServer._d_TelescopeServer[1]

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

    _nil = CORBA.Object._nil


_0_acstelescopeServer.TelescopeServer = TelescopeServer
_0_acstelescopeServer._tc_TelescopeServer = omniORB.tcInternal.createTypeCode(_0_acstelescopeServer._d_TelescopeServer)
omniORB.registerType(TelescopeServer._NP_RepositoryId, _0_acstelescopeServer._d_TelescopeServer, _0_acstelescopeServer._tc_TelescopeServer)

# TelescopeServer operations and attributes
TelescopeServer._d_displayMessage = ((), (), None)
    "hpp_idl.hpp.constraints_idl",
    r"/local/devel/hpp/src/hpp-corbaserver/idl/hpp/constraints_idl/constraints.idl"
)
_0_hpp__POA.constraints_idl = omniORB.openModule(
    "hpp_idl.hpp__POA.constraints_idl",
    r"/local/devel/hpp/src/hpp-corbaserver/idl/hpp/constraints_idl/constraints.idl"
)

# interface DifferentiableFunction
_0_hpp.constraints_idl._d_DifferentiableFunction = (
    omniORB.tcInternal.tv_objref,
    "IDL:hpp/constraints_idl/DifferentiableFunction:1.0",
    "DifferentiableFunction")
omniORB.typeMapping[
    "IDL:hpp/constraints_idl/DifferentiableFunction:1.0"] = _0_hpp.constraints_idl._d_DifferentiableFunction
_0_hpp.constraints_idl.DifferentiableFunction = omniORB.newEmptyClass()


class DifferentiableFunction:
    _NP_RepositoryId = _0_hpp.constraints_idl._d_DifferentiableFunction[1]

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

    _nil = CORBA.Object._nil


_0_hpp.constraints_idl.DifferentiableFunction = DifferentiableFunction
_0_hpp.constraints_idl._tc_DifferentiableFunction = omniORB.tcInternal.createTypeCode(
    _0_hpp.constraints_idl._d_DifferentiableFunction)
omniORB.registerType(DifferentiableFunction._NP_RepositoryId,
예제 #57
0
_omnipy.checkVersion(3,0, __file__)


#
# Start of module "RTR"
#
__name__ = "RTR"
_0_RTR = omniORB.openModule("RTR", r"idl/test.idl")
_0_RTR__POA = omniORB.openModule("RTR__POA", r"idl/test.idl")


# interface Test1
_0_RTR._d_Test1 = (omniORB.tcInternal.tv_objref, "IDL:RTR/Test1:1.0", "Test1")
omniORB.typeMapping["IDL:RTR/Test1:1.0"] = _0_RTR._d_Test1
_0_RTR.Test1 = omniORB.newEmptyClass()
class Test1 :
    _NP_RepositoryId = _0_RTR._d_Test1[1]

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

    _nil = CORBA.Object._nil


_0_RTR.Test1 = Test1
_0_RTR._tc_Test1 = omniORB.tcInternal.createTypeCode(_0_RTR._d_Test1)
omniORB.registerType(Test1._NP_RepositoryId, _0_RTR._d_Test1, _0_RTR._tc_Test1)

# Test1 operations and attributes
Test1._d_hoge = ((omniORB.tcInternal.tv_double, ), (omniORB.tcInternal.tv_double, ), None)
예제 #58
0
_omnipy.checkVersion(3,0, __file__)


#
# Start of module "Messaging"
#
__name__ = "Messaging"
_0_Messaging = omniORB.openModule("Messaging", r"message_cordinator.idl")
_0_Messaging__POA = omniORB.openModule("Messaging__POA", r"message_cordinator.idl")


# interface Receiver
_0_Messaging._d_Receiver = (omniORB.tcInternal.tv_objref, "IDL:Messaging/Receiver:1.0", "Receiver")
omniORB.typeMapping["IDL:Messaging/Receiver:1.0"] = _0_Messaging._d_Receiver
_0_Messaging.Receiver = omniORB.newEmptyClass()
class Receiver :
    _NP_RepositoryId = _0_Messaging._d_Receiver[1]

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

    _nil = CORBA.Object._nil


_0_Messaging.Receiver = Receiver
_0_Messaging._tc_Receiver = omniORB.tcInternal.createTypeCode(_0_Messaging._d_Receiver)
omniORB.registerType(Receiver._NP_RepositoryId, _0_Messaging._d_Receiver, _0_Messaging._tc_Receiver)

# Receiver operations and attributes
Receiver._d_send = ((omniORB.tcInternal.tv_long, omniORB.tcInternal.tv_long, omniORB.tcInternal.tv_long, (omniORB.tcInternal.tv_string,0)), (), None)
예제 #59
0
import Subject_idl
_0_tweek = omniORB.openModule("tweek")
_0_tweek__POA = omniORB.openModule("tweek__POA")

#
# Start of module "vrj"
#
__name__ = "vrj"
_0_vrj = omniORB.openModule("vrj", r"RemoteNavSubject.idl")
_0_vrj__POA = omniORB.openModule("vrj__POA", r"RemoteNavSubject.idl")


# interface RemoteNavSubject
_0_vrj._d_RemoteNavSubject = (omniORB.tcInternal.tv_objref, "IDL:vrj/RemoteNavSubject:1.0", "RemoteNavSubject")
omniORB.typeMapping["IDL:vrj/RemoteNavSubject:1.0"] = _0_vrj._d_RemoteNavSubject
_0_vrj.RemoteNavSubject = omniORB.newEmptyClass()
class RemoteNavSubject (_0_tweek.Subject):
    _NP_RepositoryId = _0_vrj._d_RemoteNavSubject[1]

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

    _nil = CORBA.Object._nil


_0_vrj.RemoteNavSubject = RemoteNavSubject
_0_vrj._tc_RemoteNavSubject = omniORB.tcInternal.createTypeCode(_0_vrj._d_RemoteNavSubject)
omniORB.registerType(RemoteNavSubject._NP_RepositoryId, _0_vrj._d_RemoteNavSubject, _0_vrj._tc_RemoteNavSubject)

# RemoteNavSubject operations and attributes
RemoteNavSubject._d_setPosition = ((omniORB.tcInternal.tv_float, omniORB.tcInternal.tv_float, omniORB.tcInternal.tv_float), (), None)
예제 #60
0
    property
except NameError:
    def property(*args):
        return None


#
# Start of module "CosQueryCollection"
#
__name__ = "CosQueryCollection"
_0_CosQueryCollection = omniORB.openModule("CosQueryCollection", r"..\..\..\..\..\idl\COS\CosQueryCollection.idl")
_0_CosQueryCollection__POA = omniORB.openModule("CosQueryCollection__POA", r"..\..\..\..\..\idl\COS\CosQueryCollection.idl")


# exception ElementInvalid
_0_CosQueryCollection.ElementInvalid = omniORB.newEmptyClass()
class ElementInvalid (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosQueryCollection/ElementInvalid:1.0"

    def __init__(self):
        CORBA.UserException.__init__(self)

_0_CosQueryCollection.ElementInvalid = ElementInvalid
_0_CosQueryCollection._d_ElementInvalid  = (omniORB.tcInternal.tv_except, ElementInvalid, ElementInvalid._NP_RepositoryId, "ElementInvalid")
_0_CosQueryCollection._tc_ElementInvalid = omniORB.tcInternal.createTypeCode(_0_CosQueryCollection._d_ElementInvalid)
omniORB.registerType(ElementInvalid._NP_RepositoryId, _0_CosQueryCollection._d_ElementInvalid, _0_CosQueryCollection._tc_ElementInvalid)
del ElementInvalid

# exception IteratorInvalid
_0_CosQueryCollection.IteratorInvalid = omniORB.newEmptyClass()
class IteratorInvalid (CORBA.UserException):