class POAManager (CORBA.Object) : _NP_RepositoryId = "IDL:omg.org/PortableServer/POAManager:1.0" def __init__(self): self.__release = _omnipy.poamanager_func.releaseRef def __del__(self): self.__release(self) def activate(self): _omnipy.poamanager_func.activate(self) def hold_requests(self, wait_for_completion): _omnipy.poamanager_func.hold_requests(self, wait_for_completion) def discard_requests(self, wait_for_completion): _omnipy.poamanager_func.discard_requests(self, wait_for_completion) def deactivate(self, etherialize_objects, wait_for_completion): _omnipy.poamanager_func.deactivate(self, etherialize_objects, wait_for_completion) def get_state(self): return self.State._item(_omnipy.poamanager_func.get_state(self)) __methods__ = ["activate", "hold_requests", "discard_requests", "deactivate", "get_state"] + CORBA.Object.__methods__ # Generated declarations class AdapterInactive (CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/PortableServer/POAManager/AdapterInactive:1.0" _d_AdapterInactive = (omniORB.tcInternal.tv_except, AdapterInactive, AdapterInactive._NP_RepositoryId, "AdapterInactive") _tc_AdapterInactive = omniORB.tcInternal.createTypeCode(_d_AdapterInactive) omniORB.registerType(AdapterInactive._NP_RepositoryId, _d_AdapterInactive, _tc_AdapterInactive) HOLDING = omniORB.EnumItem("HOLDING", 0) ACTIVE = omniORB.EnumItem("ACTIVE", 1) DISCARDING = omniORB.EnumItem("DISCARDING", 2) INACTIVE = omniORB.EnumItem("INACTIVE", 3) State = omniORB.Enum("IDL:omg.org/PortableServer/POAManager/State:1.0", (HOLDING, ACTIVE, DISCARDING, INACTIVE)) _d_State = (omniORB.tcInternal.tv_enum, State._NP_RepositoryId, "State", State._items) _tc_State = omniORB.tcInternal.createTypeCode(_d_State) omniORB.registerType(State._NP_RepositoryId, _d_State, _tc_State)
def createEnumTC(id, name, members): mlist = [] count = 0 for m in members: mlist.append(omniORB.EnumItem(m, count)) count = count + 1 d = (tv_enum, id, name, tuple(mlist)) return createTypeCode(d)
class POAManager(CORBA.Object): _NP_RepositoryId = "IDL:omg.org/PortableServer/POAManager:2.4" def __init__(self, pm): CORBA.Object.__init__(self, pm) def activate(self): self._obj.activate() def hold_requests(self, wait_for_completion): self._obj.hold_requests(wait_for_completion) def discard_requests(self, wait_for_completion): self._obj.discard_requests(wait_for_completion) def deactivate(self, etherialize_objects, wait_for_completion): self._obj.deactivate(etherialize_objects, wait_for_completion) def get_state(self): return self.State._item(self._obj.get_state()) # Generated declarations class AdapterInactive(CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/PortableServer/POAManager/AdapterInactive:2.4" _d_AdapterInactive = (omniORB.tcInternal.tv_except, AdapterInactive, AdapterInactive._NP_RepositoryId, "AdapterInactive") _tc_AdapterInactive = omniORB.tcInternal.createTypeCode(_d_AdapterInactive) omniORB.registerType(AdapterInactive._NP_RepositoryId, _d_AdapterInactive, _tc_AdapterInactive) HOLDING = omniORB.EnumItem("HOLDING", 0) ACTIVE = omniORB.EnumItem("ACTIVE", 1) DISCARDING = omniORB.EnumItem("DISCARDING", 2) INACTIVE = omniORB.EnumItem("INACTIVE", 3) State = omniORB.Enum("IDL:omg.org/PortableServer/POAManager/State:2.4", (HOLDING, ACTIVE, DISCARDING, INACTIVE)) _d_State = (omniORB.tcInternal.tv_enum, State._NP_RepositoryId, "State", State._items) _tc_State = omniORB.tcInternal.createTypeCode(_d_State) omniORB.registerType(State._NP_RepositoryId, _d_State, _tc_State)
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)
class Elt(PortableServer.Servant): _NP_RepositoryId = _0_ASTER_ORB.Elt._NP_RepositoryId _omni_op_d = {"GetEntry": _0_ASTER_ORB.Elt._d_GetEntry} Elt._omni_skeleton = Elt _0_ASTER_ORB__POA.Elt = Elt omniORB.registerSkeleton(Elt._NP_RepositoryId, Elt) del Elt __name__ = "ASTER_ORB" # enum EltType _0_ASTER_ORB.WorkingDir = omniORB.EnumItem("WorkingDir", 0) _0_ASTER_ORB.CommFile = omniORB.EnumItem("CommFile", 1) _0_ASTER_ORB.MedFile = omniORB.EnumItem("MedFile", 2) _0_ASTER_ORB.SMeshEntry = omniORB.EnumItem("SMeshEntry", 3) _0_ASTER_ORB.RemoveRmed = omniORB.EnumItem("RemoveRmed", 4) _0_ASTER_ORB.ExportFile = omniORB.EnumItem("ExportFile", 5) _0_ASTER_ORB.MessFile = omniORB.EnumItem("MessFile", 6) _0_ASTER_ORB.ResuFile = omniORB.EnumItem("ResuFile", 7) _0_ASTER_ORB.RMedFile = omniORB.EnumItem("RMedFile", 8) _0_ASTER_ORB.EltType = omniORB.Enum("IDL:ASTER_ORB/EltType:1.0", ( _0_ASTER_ORB.WorkingDir, _0_ASTER_ORB.CommFile, _0_ASTER_ORB.MedFile, _0_ASTER_ORB.SMeshEntry, _0_ASTER_ORB.RemoveRmed, _0_ASTER_ORB.ExportFile,
_0_maintenanceOps.MaintenanceOperation_T = MaintenanceOperation_T _0_maintenanceOps._d_MaintenanceOperation_T = (omniORB.tcInternal.tv_string, 0) _0_maintenanceOps._ad_MaintenanceOperation_T = ( omniORB.tcInternal.tv_alias, MaintenanceOperation_T._NP_RepositoryId, "MaintenanceOperation_T", (omniORB.tcInternal.tv_string, 0)) _0_maintenanceOps._tc_MaintenanceOperation_T = omniORB.tcInternal.createTypeCode( _0_maintenanceOps._ad_MaintenanceOperation_T) omniORB.registerType(MaintenanceOperation_T._NP_RepositoryId, _0_maintenanceOps._ad_MaintenanceOperation_T, _0_maintenanceOps._tc_MaintenanceOperation_T) del MaintenanceOperation_T # enum MaintenanceOperationMode_T _0_maintenanceOps.MOM_OPERATE = omniORB.EnumItem("MOM_OPERATE", 0) _0_maintenanceOps.MOM_RELEASE = omniORB.EnumItem("MOM_RELEASE", 1) _0_maintenanceOps.MaintenanceOperationMode_T = omniORB.Enum( "IDL:mtnm.tmforum.org/maintenanceOps/MaintenanceOperationMode_T:1.0", ( _0_maintenanceOps.MOM_OPERATE, _0_maintenanceOps.MOM_RELEASE, )) _0_maintenanceOps._d_MaintenanceOperationMode_T = ( omniORB.tcInternal.tv_enum, _0_maintenanceOps.MaintenanceOperationMode_T._NP_RepositoryId, "MaintenanceOperationMode_T", _0_maintenanceOps.MaintenanceOperationMode_T._items) _0_maintenanceOps._tc_MaintenanceOperationMode_T = omniORB.tcInternal.createTypeCode( _0_maintenanceOps._d_MaintenanceOperationMode_T) omniORB.registerType(
_NP_RepositoryId = "IDL:omg.org/PortableServer/RequestProcessingPolicy:1.0" def __init__(self, value): if value not in RequestProcessingPolicyValue._items: raise CORBA.PolicyError(CORBA.BAD_POLICY_TYPE) self._value = value self._policy_type = 22 def _get_value(self): return self._value __methods__ = ["_get_value"] + CORBA.Policy.__methods__ # enum ThreadPolicyValue ORB_CTRL_MODEL = omniORB.EnumItem("ORB_CTRL_MODEL", 0) SINGLE_THREAD_MODEL = omniORB.EnumItem("SINGLE_THREAD_MODEL", 1) MAIN_THREAD_MODEL = omniORB.EnumItem("MAIN_THREAD_MODEL", 2) ThreadPolicyValue = omniORB.Enum(\ "IDL:omg.org/PortableServer/ThreadPolicyValue:1.0", (ORB_CTRL_MODEL, SINGLE_THREAD_MODEL, MAIN_THREAD_MODEL)) _d_ThreadPolicyValue = (omniORB.tcInternal.tv_enum, ThreadPolicyValue._NP_RepositoryId, "ThreadPolicyValue", ThreadPolicyValue._items) _tc_ThreadPolicyValue = omniORB.tcInternal.createTypeCode(_d_ThreadPolicyValue) omniORB.registerType(ThreadPolicyValue._NP_RepositoryId, _d_ThreadPolicyValue, _tc_ThreadPolicyValue) # enum LifespanPolicyValue TRANSIENT = omniORB.EnumItem("TRANSIENT", 0)
# EXCEPTIONS # # # ############################################################################# __base_Exception = Exception class Exception(__base_Exception): pass OMGVMCID = 0x4f4d0000 # Completion status: COMPLETED_YES = omniORB.EnumItem("COMPLETED_YES", 0) COMPLETED_NO = omniORB.EnumItem("COMPLETED_NO", 1) COMPLETED_MAYBE = omniORB.EnumItem("COMPLETED_MAYBE", 2) completion_status = omniORB.Enum( "IDL:omg.org/CORBA/completion_status:1.0", (COMPLETED_YES, COMPLETED_NO, COMPLETED_MAYBE)) class SystemException(Exception): def __init__(self, minor=0, completed=COMPLETED_NO, info=None): self.minor = minor if isinstance(completed, int): self.completed = completion_status._item(completed) else: self.completed = completed
_0_IOFF_AL.OFF_AL_BKUP_EV_EXPORT = 8 _0_IOFF_AL.OFF_AL_BKUP_MISC_EXPORT = 9 _0_IOFF_AL.OFF_AL_ENCRYPTION_KEY = 10 _0_IOFF_AL.OFF_AL_MISC_VARIABLE_STR = 11 _0_IOFF_AL.OFF_AL_MISC_VARIABLE_INT = 12 _0_IOFF_AL.OFF_AL_MISC_VARIABLE_DBL = 13 _0_IOFF_AL.OFF_AL_MISC_VARIABLE_VEC = 14 _0_IOFF_AL.OFF_AL_MISC_VAR_PKT = 22 _0_IOFF_AL.OFF_AL_SCHSTK_DATA = 23 _0_IOFF_AL.OFF_AL_CLSTK_DATA = 24 _0_IOFF_AL.OFF_AL_EVESCH_SCH = 25 _0_IOFF_AL.OFF_AL_IWPR_DATA = 26 _0_IOFF_AL.OFF_AL_EWPR_DATA = 27 # enum OperationResult _0_IOFF_AL.SUCCESS = omniORB.EnumItem("SUCCESS", 0) _0_IOFF_AL.FAILED_BAD_ARGUMENT = omniORB.EnumItem("FAILED_BAD_ARGUMENT", 1) _0_IOFF_AL.FAILED_EXPORT = omniORB.EnumItem("FAILED_EXPORT", 2) _0_IOFF_AL.FAILED_IMPORT = omniORB.EnumItem("FAILED_IMPORT", 3) _0_IOFF_AL.FAILED_SET_VAR = omniORB.EnumItem("FAILED_SET_VAR", 4) _0_IOFF_AL.FAILED_GET_VAR = omniORB.EnumItem("FAILED_GET_VAR", 5) _0_IOFF_AL.FAILED_NOT_IMPLEMENTED = omniORB.EnumItem("FAILED_NOT_IMPLEMENTED", 6) _0_IOFF_AL.FAILED_WRITE_FILE = omniORB.EnumItem("FAILED_WRITE_FILE", 7) _0_IOFF_AL.FAILED_READ_FILE = omniORB.EnumItem("FAILED_READ_FILE", 8) _0_IOFF_AL.FAILED_ABORT = omniORB.EnumItem("FAILED_ABORT", 9) _0_IOFF_AL.FAILED_UKN_TYPE = omniORB.EnumItem("FAILED_UKN_TYPE", 10) _0_IOFF_AL.OperationResult = omniORB.Enum("IDL:IOFF_AL/OperationResult:1.0", (_0_IOFF_AL.SUCCESS, _0_IOFF_AL.FAILED_BAD_ARGUMENT, _0_IOFF_AL.FAILED_EXPORT, _0_IOFF_AL.FAILED_IMPORT, _0_IOFF_AL.FAILED_SET_VAR, _0_IOFF_AL.FAILED_GET_VAR, _0_IOFF_AL.FAILED_NOT_IMPLEMENTED, _0_IOFF_AL.FAILED_WRITE_FILE, _0_IOFF_AL.FAILED_READ_FILE, _0_IOFF_AL.FAILED_ABORT, _0_IOFF_AL.FAILED_UKN_TYPE,)) _0_IOFF_AL._d_OperationResult = (omniORB.tcInternal.tv_enum, _0_IOFF_AL.OperationResult._NP_RepositoryId, "OperationResult", _0_IOFF_AL.OperationResult._items) _0_IOFF_AL._tc_OperationResult = omniORB.tcInternal.createTypeCode(_0_IOFF_AL._d_OperationResult) omniORB.registerType(_0_IOFF_AL.OperationResult._NP_RepositoryId, _0_IOFF_AL._d_OperationResult, _0_IOFF_AL._tc_OperationResult)
0) _0_CosNotification._ad_NamedPropertyRangeSeq = ( omniORB.tcInternal.tv_alias, NamedPropertyRangeSeq._NP_RepositoryId, "NamedPropertyRangeSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotification/NamedPropertyRange:1.0"], 0)) _0_CosNotification._tc_NamedPropertyRangeSeq = omniORB.tcInternal.createTypeCode( _0_CosNotification._ad_NamedPropertyRangeSeq) omniORB.registerType(NamedPropertyRangeSeq._NP_RepositoryId, _0_CosNotification._ad_NamedPropertyRangeSeq, _0_CosNotification._tc_NamedPropertyRangeSeq) del NamedPropertyRangeSeq # enum QoSError_code _0_CosNotification.UNSUPPORTED_PROPERTY = omniORB.EnumItem( "UNSUPPORTED_PROPERTY", 0) _0_CosNotification.UNAVAILABLE_PROPERTY = omniORB.EnumItem( "UNAVAILABLE_PROPERTY", 1) _0_CosNotification.UNSUPPORTED_VALUE = omniORB.EnumItem("UNSUPPORTED_VALUE", 2) _0_CosNotification.UNAVAILABLE_VALUE = omniORB.EnumItem("UNAVAILABLE_VALUE", 3) _0_CosNotification.BAD_PROPERTY = omniORB.EnumItem("BAD_PROPERTY", 4) _0_CosNotification.BAD_TYPE = omniORB.EnumItem("BAD_TYPE", 5) _0_CosNotification.BAD_VALUE = omniORB.EnumItem("BAD_VALUE", 6) _0_CosNotification.QoSError_code = omniORB.Enum( "IDL:omg.org/CosNotification/QoSError_code:1.0", ( _0_CosNotification.UNSUPPORTED_PROPERTY, _0_CosNotification.UNAVAILABLE_PROPERTY, _0_CosNotification.UNSUPPORTED_VALUE, _0_CosNotification.UNAVAILABLE_VALUE, _0_CosNotification.BAD_PROPERTY, _0_CosNotification.BAD_TYPE,
# exception QueryTypeInvalid _0_CosQuery.QueryTypeInvalid = omniORB.newEmptyClass() class QueryTypeInvalid (CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/CosQuery/QueryTypeInvalid:1.0" def __init__(self): CORBA.UserException.__init__(self) _0_CosQuery.QueryTypeInvalid = QueryTypeInvalid _0_CosQuery._d_QueryTypeInvalid = (omniORB.tcInternal.tv_except, QueryTypeInvalid, QueryTypeInvalid._NP_RepositoryId, "QueryTypeInvalid") _0_CosQuery._tc_QueryTypeInvalid = omniORB.tcInternal.createTypeCode(_0_CosQuery._d_QueryTypeInvalid) omniORB.registerType(QueryTypeInvalid._NP_RepositoryId, _0_CosQuery._d_QueryTypeInvalid, _0_CosQuery._tc_QueryTypeInvalid) del QueryTypeInvalid # enum QueryStatus _0_CosQuery.complete = omniORB.EnumItem("complete", 0) _0_CosQuery.incomplete = omniORB.EnumItem("incomplete", 1) _0_CosQuery.QueryStatus = omniORB.Enum("IDL:omg.org/CosQuery/QueryStatus:1.0", (_0_CosQuery.complete, _0_CosQuery.incomplete,)) _0_CosQuery._d_QueryStatus = (omniORB.tcInternal.tv_enum, _0_CosQuery.QueryStatus._NP_RepositoryId, "QueryStatus", _0_CosQuery.QueryStatus._items) _0_CosQuery._tc_QueryStatus = omniORB.tcInternal.createTypeCode(_0_CosQuery._d_QueryStatus) omniORB.registerType(_0_CosQuery.QueryStatus._NP_RepositoryId, _0_CosQuery._d_QueryStatus, _0_CosQuery._tc_QueryStatus) # typedef ... ParameterList class ParameterList: _NP_RepositoryId = "IDL:omg.org/CosQuery/ParameterList:1.0" def __init__(self, *args, **kw): raise RuntimeError("Cannot construct objects of this type.") _0_CosQuery.ParameterList = ParameterList _0_CosQuery._d_ParameterList = omniORB.typeMapping["IDL:omg.org/CosQueryCollection/ParameterList:1.0"] _0_CosQuery._ad_ParameterList = (omniORB.tcInternal.tv_alias, ParameterList._NP_RepositoryId, "ParameterList", omniORB.typeCodeMapping["IDL:omg.org/CosQueryCollection/ParameterList:1.0"]._d)
# #include "CosEventComm.idl" import CosEventComm_idl _0_CosEventComm = omniORB.openModule("CosEventComm") _0_CosEventComm__POA = omniORB.openModule("CosEventComm__POA") # # Start of module "CosTimerEvent" # __name__ = "CosTimerEvent" _0_CosTimerEvent = omniORB.openModule("CosTimerEvent", r"/tmp/corba/omni/share/idl/omniORB/COS/CosTimerEvent.idl") _0_CosTimerEvent__POA = omniORB.openModule("CosTimerEvent__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosTimerEvent.idl") # enum TimeType _0_CosTimerEvent.TTAbsolute = omniORB.EnumItem("TTAbsolute", 0) _0_CosTimerEvent.TTRelative = omniORB.EnumItem("TTRelative", 1) _0_CosTimerEvent.TTPeriodic = omniORB.EnumItem("TTPeriodic", 2) _0_CosTimerEvent.TimeType = omniORB.Enum("IDL:omg.org/CosTimerEvent/TimeType:1.0", (_0_CosTimerEvent.TTAbsolute, _0_CosTimerEvent.TTRelative, _0_CosTimerEvent.TTPeriodic,)) _0_CosTimerEvent._d_TimeType = (omniORB.tcInternal.tv_enum, _0_CosTimerEvent.TimeType._NP_RepositoryId, "TimeType", _0_CosTimerEvent.TimeType._items) _0_CosTimerEvent._tc_TimeType = omniORB.tcInternal.createTypeCode(_0_CosTimerEvent._d_TimeType) omniORB.registerType(_0_CosTimerEvent.TimeType._NP_RepositoryId, _0_CosTimerEvent._d_TimeType, _0_CosTimerEvent._tc_TimeType) # enum EventStatus _0_CosTimerEvent.ESTimeSet = omniORB.EnumItem("ESTimeSet", 0) _0_CosTimerEvent.ESTimeCleared = omniORB.EnumItem("ESTimeCleared", 1) _0_CosTimerEvent.ESTriggered = omniORB.EnumItem("ESTriggered", 2) _0_CosTimerEvent.ESFailedTrigger = omniORB.EnumItem("ESFailedTrigger", 3) _0_CosTimerEvent.EventStatus = omniORB.Enum("IDL:omg.org/CosTimerEvent/EventStatus:1.0", (_0_CosTimerEvent.ESTimeSet, _0_CosTimerEvent.ESTimeCleared, _0_CosTimerEvent.ESTriggered, _0_CosTimerEvent.ESFailedTrigger,))
_0_RDITestTypes._d_StringArrayTen = (omniORB.tcInternal.tv_array, (omniORB.tcInternal.tv_string, 0), 10) _0_RDITestTypes._ad_StringArrayTen = (omniORB.tcInternal.tv_alias, StringArrayTen._NP_RepositoryId, "StringArrayTen", (omniORB.tcInternal.tv_array, (omniORB.tcInternal.tv_string, 0), 10)) _0_RDITestTypes._tc_StringArrayTen = omniORB.tcInternal.createTypeCode( _0_RDITestTypes._ad_StringArrayTen) omniORB.registerType(StringArrayTen._NP_RepositoryId, _0_RDITestTypes._ad_StringArrayTen, _0_RDITestTypes._tc_StringArrayTen) del StringArrayTen # enum UnionSwitch _0_RDITestTypes.a = omniORB.EnumItem("a", 0) _0_RDITestTypes.b = omniORB.EnumItem("b", 1) _0_RDITestTypes.c = omniORB.EnumItem("c", 2) _0_RDITestTypes.d = omniORB.EnumItem("d", 3) _0_RDITestTypes.e = omniORB.EnumItem("e", 4) _0_RDITestTypes.UnionSwitch = omniORB.Enum( "IDL:research.att.com/RDITestTypes/UnionSwitch:1.0", ( _0_RDITestTypes.a, _0_RDITestTypes.b, _0_RDITestTypes.c, _0_RDITestTypes.d, _0_RDITestTypes.e, )) _0_RDITestTypes._d_UnionSwitch = (omniORB.tcInternal.tv_enum, _0_RDITestTypes.UnionSwitch._NP_RepositoryId,
self.bottom = bottom _0_RTC.LifterAngle = LifterAngle _0_RTC._d_LifterAngle = (omniORB.tcInternal.tv_struct, LifterAngle, LifterAngle._NP_RepositoryId, "LifterAngle", "top", omniORB.tcInternal.tv_double, "bottom", omniORB.tcInternal.tv_double) _0_RTC._tc_LifterAngle = omniORB.tcInternal.createTypeCode( _0_RTC._d_LifterAngle) omniORB.registerType(LifterAngle._NP_RepositoryId, _0_RTC._d_LifterAngle, _0_RTC._tc_LifterAngle) del LifterAngle # enum RETURN_VALUE _0_RTC.RETURN_OK = omniORB.EnumItem("RETURN_OK", 0) _0_RTC.RETURN_MOVE_OK = omniORB.EnumItem("RETURN_MOVE_OK", 1) _0_RTC.RETURN_INVALID_PARAMETER = omniORB.EnumItem("RETURN_INVALID_PARAMETER", 2) _0_RTC.RETURN_NOT_FOUND = omniORB.EnumItem("RETURN_NOT_FOUND", 3) _0_RTC.RETURN_OUT_OF_RANGE = omniORB.EnumItem("RETURN_OUT_OF_RANGE", 4) _0_RTC.RETURN_ERROR = omniORB.EnumItem("RETURN_ERROR", 5) _0_RTC.RETVAL_ARRIVAL_OK = omniORB.EnumItem("RETVAL_ARRIVAL_OK", 6) _0_RTC.RETVAL_EMERGENCY = omniORB.EnumItem("RETVAL_EMERGENCY", 7) _0_RTC.RETVAL_SET_PARAM = omniORB.EnumItem("RETVAL_SET_PARAM", 8) _0_RTC.RETVAL_MOVE_START = omniORB.EnumItem("RETVAL_MOVE_START", 9) _0_RTC.RETVAL_MOVE_STOP = omniORB.EnumItem("RETVAL_MOVE_STOP", 10) _0_RTC.RETURN_VALUE = omniORB.Enum("IDL:RTC/RETURN_VALUE:1.0", ( _0_RTC.RETURN_OK, _0_RTC.RETURN_MOVE_OK, _0_RTC.RETURN_INVALID_PARAMETER,
_0_CosCompoundLifeCycle._d_Relationship = ( omniORB.tcInternal.tv_objref, "IDL:omg.org/CosCompoundLifeCycle/Relationship:1.0", "Relationship") omniORB.typeMapping[ "IDL:omg.org/CosCompoundLifeCycle/Relationship:1.0"] = _0_CosCompoundLifeCycle._d_Relationship # forward interface PropagationCriteriaFactory; _0_CosCompoundLifeCycle._d_PropagationCriteriaFactory = ( omniORB.tcInternal.tv_objref, "IDL:omg.org/CosCompoundLifeCycle/PropagationCriteriaFactory:1.0", "PropagationCriteriaFactory") omniORB.typeMapping[ "IDL:omg.org/CosCompoundLifeCycle/PropagationCriteriaFactory:1.0"] = _0_CosCompoundLifeCycle._d_PropagationCriteriaFactory # enum Operation _0_CosCompoundLifeCycle.copy = omniORB.EnumItem("copy", 0) _0_CosCompoundLifeCycle.move = omniORB.EnumItem("move", 1) _0_CosCompoundLifeCycle.remove = omniORB.EnumItem("remove", 2) _0_CosCompoundLifeCycle.Operation = omniORB.Enum( "IDL:omg.org/CosCompoundLifeCycle/Operation:1.0", ( _0_CosCompoundLifeCycle.copy, _0_CosCompoundLifeCycle.move, _0_CosCompoundLifeCycle.remove, )) _0_CosCompoundLifeCycle._d_Operation = ( omniORB.tcInternal.tv_enum, _0_CosCompoundLifeCycle.Operation._NP_RepositoryId, "Operation", _0_CosCompoundLifeCycle.Operation._items) _0_CosCompoundLifeCycle._tc_Operation = omniORB.tcInternal.createTypeCode( _0_CosCompoundLifeCycle._d_Operation)
# #include "globaldefs.idl" import globaldefs_idl _0_globaldefs = omniORB.openModule("globaldefs") _0_globaldefs__POA = omniORB.openModule("globaldefs__POA") # # Start of module "aSAP" # __name__ = "aSAP" _0_aSAP = omniORB.openModule("aSAP", r"aSAP.idl") _0_aSAP__POA = omniORB.openModule("aSAP__POA", r"aSAP.idl") # enum AssignedSeverity_T _0_aSAP.AS_INDETERMINATE = omniORB.EnumItem("AS_INDETERMINATE", 0) _0_aSAP.AS_CRITICAL = omniORB.EnumItem("AS_CRITICAL", 1) _0_aSAP.AS_MAJOR = omniORB.EnumItem("AS_MAJOR", 2) _0_aSAP.AS_MINOR = omniORB.EnumItem("AS_MINOR", 3) _0_aSAP.AS_WARNING = omniORB.EnumItem("AS_WARNING", 4) _0_aSAP.AS_NONALARMED = omniORB.EnumItem("AS_NONALARMED", 5) _0_aSAP.AS_FREE_CHOICE = omniORB.EnumItem("AS_FREE_CHOICE", 6) _0_aSAP.AssignedSeverity_T = omniORB.Enum( "IDL:mtnm.tmforum.org/aSAP/AssignedSeverity_T:1.0", ( _0_aSAP.AS_INDETERMINATE, _0_aSAP.AS_CRITICAL, _0_aSAP.AS_MAJOR, _0_aSAP.AS_MINOR, _0_aSAP.AS_WARNING, _0_aSAP.AS_NONALARMED, _0_aSAP.AS_FREE_CHOICE,
_0_Manipulation.LimitValue = LimitValue _0_Manipulation._d_LimitValue = (omniORB.tcInternal.tv_struct, LimitValue, LimitValue._NP_RepositoryId, "LimitValue", "upper", omniORB.tcInternal.tv_double, "lower", omniORB.tcInternal.tv_double) _0_Manipulation._tc_LimitValue = omniORB.tcInternal.createTypeCode( _0_Manipulation._d_LimitValue) omniORB.registerType(LimitValue._NP_RepositoryId, _0_Manipulation._d_LimitValue, _0_Manipulation._tc_LimitValue) del LimitValue # enum JOINT_TYPE _0_Manipulation.JOINT_ROTATE = omniORB.EnumItem("JOINT_ROTATE", 0) _0_Manipulation.JOINT_SLIDE = omniORB.EnumItem("JOINT_SLIDE", 1) _0_Manipulation.JOINT_FIXED = omniORB.EnumItem("JOINT_FIXED", 2) _0_Manipulation.JOINT_FREE = omniORB.EnumItem("JOINT_FREE", 3) _0_Manipulation.JOINT_UNKNOWN = omniORB.EnumItem("JOINT_UNKNOWN", 4) _0_Manipulation.JOINT_TYPE = omniORB.Enum("IDL:Manipulation/JOINT_TYPE:1.0", ( _0_Manipulation.JOINT_ROTATE, _0_Manipulation.JOINT_SLIDE, _0_Manipulation.JOINT_FIXED, _0_Manipulation.JOINT_FREE, _0_Manipulation.JOINT_UNKNOWN, )) _0_Manipulation._d_JOINT_TYPE = (omniORB.tcInternal.tv_enum, _0_Manipulation.JOINT_TYPE._NP_RepositoryId, "JOINT_TYPE",
_0_CosQueryCollection.PositionInvalid = PositionInvalid _0_CosQueryCollection._d_PositionInvalid = (omniORB.tcInternal.tv_except, PositionInvalid, PositionInvalid._NP_RepositoryId, "PositionInvalid") _0_CosQueryCollection._tc_PositionInvalid = omniORB.tcInternal.createTypeCode( _0_CosQueryCollection._d_PositionInvalid) omniORB.registerType(PositionInvalid._NP_RepositoryId, _0_CosQueryCollection._d_PositionInvalid, _0_CosQueryCollection._tc_PositionInvalid) del PositionInvalid # enum ValueType _0_CosQueryCollection.TypeBoolean = omniORB.EnumItem("TypeBoolean", 0) _0_CosQueryCollection.TypeChar = omniORB.EnumItem("TypeChar", 1) _0_CosQueryCollection.TypeOctet = omniORB.EnumItem("TypeOctet", 2) _0_CosQueryCollection.TypeShort = omniORB.EnumItem("TypeShort", 3) _0_CosQueryCollection.TypeUShort = omniORB.EnumItem("TypeUShort", 4) _0_CosQueryCollection.TypeLong = omniORB.EnumItem("TypeLong", 5) _0_CosQueryCollection.TypeULong = omniORB.EnumItem("TypeULong", 6) _0_CosQueryCollection.TypeFloat = omniORB.EnumItem("TypeFloat", 7) _0_CosQueryCollection.TypeDouble = omniORB.EnumItem("TypeDouble", 8) _0_CosQueryCollection.TypeString = omniORB.EnumItem("TypeString", 9) _0_CosQueryCollection.TypeObject = omniORB.EnumItem("TypeObject", 10) _0_CosQueryCollection.TypeAny = omniORB.EnumItem("TypeAny", 11) _0_CosQueryCollection.TypeSmallInt = omniORB.EnumItem("TypeSmallInt", 12) _0_CosQueryCollection.TypeInteger = omniORB.EnumItem("TypeInteger", 13) _0_CosQueryCollection.TypeReal = omniORB.EnumItem("TypeReal", 14) _0_CosQueryCollection.TypeDoublePrecision = omniORB.EnumItem(
_0_Img.Mat44 = Mat44 _0_Img._d_Mat44 = (omniORB.tcInternal.tv_array, (omniORB.tcInternal.tv_array, omniORB.tcInternal.tv_double, 4), 4) _0_Img._ad_Mat44 = (omniORB.tcInternal.tv_alias, Mat44._NP_RepositoryId, "Mat44", (omniORB.tcInternal.tv_array, (omniORB.tcInternal.tv_array, omniORB.tcInternal.tv_double, 4), 4)) _0_Img._tc_Mat44 = omniORB.tcInternal.createTypeCode(_0_Img._ad_Mat44) omniORB.registerType(Mat44._NP_RepositoryId, _0_Img._ad_Mat44, _0_Img._tc_Mat44) del Mat44 # enum ColorFormat _0_Img.CF_UNKNOWN = omniORB.EnumItem("CF_UNKNOWN", 0) _0_Img.CF_RGB = omniORB.EnumItem("CF_RGB", 1) _0_Img.CF_GRAY = omniORB.EnumItem("CF_GRAY", 2) _0_Img.CF_JPEG = omniORB.EnumItem("CF_JPEG", 3) _0_Img.CF_PNG = omniORB.EnumItem("CF_PNG", 4) _0_Img.RGB = omniORB.EnumItem("RGB", 5) _0_Img.RLE8 = omniORB.EnumItem("RLE8", 6) _0_Img.RLE = omniORB.EnumItem("RLE", 7) _0_Img.RAW = omniORB.EnumItem("RAW", 8) _0_Img.RGBA = omniORB.EnumItem("RGBA", 9) _0_Img.RGBT = omniORB.EnumItem("RGBT", 10) _0_Img.AYUV = omniORB.EnumItem("AYUV", 11) _0_Img.CLJR = omniORB.EnumItem("CLJR", 12) _0_Img.CYUV = omniORB.EnumItem("CYUV", 13) _0_Img.GREY = omniORB.EnumItem("GREY", 14) _0_Img.IRAW = omniORB.EnumItem("IRAW", 15)
# #include "TimeBase.idl" import TimeBase_idl _0_TimeBase = omniORB.openModule("TimeBase") _0_TimeBase__POA = omniORB.openModule("TimeBase__POA") # # Start of module "CosTime" # __name__ = "CosTime" _0_CosTime = omniORB.openModule("CosTime", r"..\..\..\..\..\idl\COS\CosTime.idl") _0_CosTime__POA = omniORB.openModule("CosTime__POA", r"..\..\..\..\..\idl\COS\CosTime.idl") # enum TimeComparison _0_CosTime.TCEqualTo = omniORB.EnumItem("TCEqualTo", 0) _0_CosTime.TCLessThan = omniORB.EnumItem("TCLessThan", 1) _0_CosTime.TCGreaterThan = omniORB.EnumItem("TCGreaterThan", 2) _0_CosTime.TCIndeterminate = omniORB.EnumItem("TCIndeterminate", 3) _0_CosTime.TimeComparison = omniORB.Enum( "IDL:omg.org/CosTime/TimeComparison:1.0", ( _0_CosTime.TCEqualTo, _0_CosTime.TCLessThan, _0_CosTime.TCGreaterThan, _0_CosTime.TCIndeterminate, )) _0_CosTime._d_TimeComparison = (omniORB.tcInternal.tv_enum, _0_CosTime.TimeComparison._NP_RepositoryId, "TimeComparison", _0_CosTime.TimeComparison._items)
_0_CosGraphs.Edges = Edges _0_CosGraphs._d_Edges = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosGraphs/Edge:1.0"], 0) _0_CosGraphs._ad_Edges = ( omniORB.tcInternal.tv_alias, Edges._NP_RepositoryId, "Edges", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosGraphs/Edge:1.0"], 0)) _0_CosGraphs._tc_Edges = omniORB.tcInternal.createTypeCode( _0_CosGraphs._ad_Edges) omniORB.registerType(Edges._NP_RepositoryId, _0_CosGraphs._ad_Edges, _0_CosGraphs._tc_Edges) del Edges # enum PropagationValue _0_CosGraphs.deep = omniORB.EnumItem("deep", 0) _0_CosGraphs.shallow = omniORB.EnumItem("shallow", 1) _0_CosGraphs.none = omniORB.EnumItem("none", 2) _0_CosGraphs.inhibit = omniORB.EnumItem("inhibit", 3) _0_CosGraphs.PropagationValue = omniORB.Enum( "IDL:omg.org/CosGraphs/PropagationValue:1.0", ( _0_CosGraphs.deep, _0_CosGraphs.shallow, _0_CosGraphs.none, _0_CosGraphs.inhibit, )) _0_CosGraphs._d_PropagationValue = ( omniORB.tcInternal.tv_enum, _0_CosGraphs.PropagationValue._NP_RepositoryId, "PropagationValue", _0_CosGraphs.PropagationValue._items) _0_CosGraphs._tc_PropagationValue = omniORB.tcInternal.createTypeCode(
# #include "flowDomain.idl" import flowDomain_idl _0_flowDomain = omniORB.openModule("flowDomain") _0_flowDomain__POA = omniORB.openModule("flowDomain__POA") # # Start of module "transmissionDescriptor" # __name__ = "transmissionDescriptor" _0_transmissionDescriptor = omniORB.openModule("transmissionDescriptor", r"transmissionDescriptor.idl") _0_transmissionDescriptor__POA = omniORB.openModule("transmissionDescriptor__POA", r"transmissionDescriptor.idl") # enum ServiceCategory_T _0_transmissionDescriptor.SC_CBR = omniORB.EnumItem("SC_CBR", 0) _0_transmissionDescriptor.SC_VBRRT = omniORB.EnumItem("SC_VBRRT", 1) _0_transmissionDescriptor.SC_VBRNRT = omniORB.EnumItem("SC_VBRNRT", 2) _0_transmissionDescriptor.SC_ABR = omniORB.EnumItem("SC_ABR", 3) _0_transmissionDescriptor.SC_UBR = omniORB.EnumItem("SC_UBR", 4) _0_transmissionDescriptor.SC_GFR = omniORB.EnumItem("SC_GFR", 5) _0_transmissionDescriptor.SC_NA = omniORB.EnumItem("SC_NA", 6) _0_transmissionDescriptor.ServiceCategory_T = omniORB.Enum("IDL:mtnm.tmforum.org/transmissionDescriptor/ServiceCategory_T:1.0", (_0_transmissionDescriptor.SC_CBR, _0_transmissionDescriptor.SC_VBRRT, _0_transmissionDescriptor.SC_VBRNRT, _0_transmissionDescriptor.SC_ABR, _0_transmissionDescriptor.SC_UBR, _0_transmissionDescriptor.SC_GFR, _0_transmissionDescriptor.SC_NA,)) _0_transmissionDescriptor._d_ServiceCategory_T = (omniORB.tcInternal.tv_enum, _0_transmissionDescriptor.ServiceCategory_T._NP_RepositoryId, "ServiceCategory_T", _0_transmissionDescriptor.ServiceCategory_T._items) _0_transmissionDescriptor._tc_ServiceCategory_T = omniORB.tcInternal.createTypeCode(_0_transmissionDescriptor._d_ServiceCategory_T) 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"
from omniORB import CORBA, PortableServer _0_CORBA = CORBA _omnipy.checkVersion(2,0, __file__) # # Start of module "NamingAuthority" # __name__ = "NamingAuthority" _0_NamingAuthority = omniORB.openModule("NamingAuthority", r"NamingAuthority.idl") _0_NamingAuthority__POA = omniORB.openModule("NamingAuthority__POA", r"NamingAuthority.idl") # enum RegistrationAuthority _0_NamingAuthority.OTHER = omniORB.EnumItem("OTHER", 0) _0_NamingAuthority.ISO = omniORB.EnumItem("ISO", 1) _0_NamingAuthority.DNS = omniORB.EnumItem("DNS", 2) _0_NamingAuthority.IDL = omniORB.EnumItem("IDL", 3) _0_NamingAuthority.DCE = omniORB.EnumItem("DCE", 4) _0_NamingAuthority.RegistrationAuthority = omniORB.Enum("IDL:omg.org/NamingAuthority/RegistrationAuthority:1.0", (_0_NamingAuthority.OTHER, _0_NamingAuthority.ISO, _0_NamingAuthority.DNS, _0_NamingAuthority.IDL, _0_NamingAuthority.DCE,)) _0_NamingAuthority._d_RegistrationAuthority = (omniORB.tcInternal.tv_enum, _0_NamingAuthority.RegistrationAuthority._NP_RepositoryId, "RegistrationAuthority", _0_NamingAuthority.RegistrationAuthority._items) _0_NamingAuthority._tc_RegistrationAuthority = omniORB.tcInternal.createTypeCode(_0_NamingAuthority._d_RegistrationAuthority) 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.")
raise RuntimeError("Cannot construct objects of this type.") _0_globaldefs.Time_T = Time_T _0_globaldefs._d_Time_T = (omniORB.tcInternal.tv_string, 0) _0_globaldefs._ad_Time_T = (omniORB.tcInternal.tv_alias, Time_T._NP_RepositoryId, "Time_T", (omniORB.tcInternal.tv_string, 0)) _0_globaldefs._tc_Time_T = omniORB.tcInternal.createTypeCode( _0_globaldefs._ad_Time_T) omniORB.registerType(Time_T._NP_RepositoryId, _0_globaldefs._ad_Time_T, _0_globaldefs._tc_Time_T) del Time_T # enum ConnectionDirection_T _0_globaldefs.CD_UNI = omniORB.EnumItem("CD_UNI", 0) _0_globaldefs.CD_BI = omniORB.EnumItem("CD_BI", 1) _0_globaldefs.ConnectionDirection_T = omniORB.Enum( "IDL:mtnm.tmforum.org/globaldefs/ConnectionDirection_T:1.0", ( _0_globaldefs.CD_UNI, _0_globaldefs.CD_BI, )) _0_globaldefs._d_ConnectionDirection_T = ( omniORB.tcInternal.tv_enum, _0_globaldefs.ConnectionDirection_T._NP_RepositoryId, "ConnectionDirection_T", _0_globaldefs.ConnectionDirection_T._items) _0_globaldefs._tc_ConnectionDirection_T = omniORB.tcInternal.createTypeCode( _0_globaldefs._d_ConnectionDirection_T) omniORB.registerType(_0_globaldefs.ConnectionDirection_T._NP_RepositoryId, _0_globaldefs._d_ConnectionDirection_T,
def property(*args): return None # # Start of module "demo" # __name__ = "demo" _0_demo = omniORB.openModule("demo", r"..\IntegerSequence.idl") _0_demo__POA = omniORB.openModule("demo__POA", r"..\IntegerSequence.idl") _0_demo.MAX_QUERY_SIZE = 100 # enum ResponseType _0_demo.t_int = omniORB.EnumItem("t_int", 0) _0_demo.t_string = omniORB.EnumItem("t_string", 1) _0_demo.t_error = omniORB.EnumItem("t_error", 2) _0_demo.ResponseType = omniORB.Enum("IDL:demo/ResponseType:1.0", ( _0_demo.t_int, _0_demo.t_string, _0_demo.t_error, )) _0_demo._d_ResponseType = (omniORB.tcInternal.tv_enum, _0_demo.ResponseType._NP_RepositoryId, "ResponseType", _0_demo.ResponseType._items) _0_demo._tc_ResponseType = omniORB.tcInternal.createTypeCode( _0_demo._d_ResponseType) omniORB.registerType(_0_demo.ResponseType._NP_RepositoryId, _0_demo._d_ResponseType, _0_demo._tc_ResponseType)
_0_RTC__POA = omniORB.openModule("RTC__POA") # #include "ManipulatorCommonInterface_DataTypes.idl" import ManipulatorCommonInterface_DataTypes_idl _0_JARA_ARM = omniORB.openModule("JARA_ARM") _0_JARA_ARM__POA = omniORB.openModule("JARA_ARM__POA") # # Start of module "JARA_ARM" # __name__ = "JARA_ARM" _0_JARA_ARM = omniORB.openModule("JARA_ARM", r"idl/ManipulatorCommonInterface_Common.idl") _0_JARA_ARM__POA = omniORB.openModule("JARA_ARM__POA", r"idl/ManipulatorCommonInterface_Common.idl") # enum AlarmType _0_JARA_ARM.FAULT = omniORB.EnumItem("FAULT", 0) _0_JARA_ARM.WARNING = omniORB.EnumItem("WARNING", 1) _0_JARA_ARM.UNKNOWN = omniORB.EnumItem("UNKNOWN", 2) _0_JARA_ARM.AlarmType = omniORB.Enum("IDL:JARA_ARM/AlarmType:1.0", (_0_JARA_ARM.FAULT, _0_JARA_ARM.WARNING, _0_JARA_ARM.UNKNOWN,)) _0_JARA_ARM._d_AlarmType = (omniORB.tcInternal.tv_enum, _0_JARA_ARM.AlarmType._NP_RepositoryId, "AlarmType", _0_JARA_ARM.AlarmType._items) _0_JARA_ARM._tc_AlarmType = omniORB.tcInternal.createTypeCode(_0_JARA_ARM._d_AlarmType) omniORB.registerType(_0_JARA_ARM.AlarmType._NP_RepositoryId, _0_JARA_ARM._d_AlarmType, _0_JARA_ARM._tc_AlarmType) # struct Alarm _0_JARA_ARM.Alarm = omniORB.newEmptyClass() class Alarm (omniORB.StructBase): _NP_RepositoryId = "IDL:JARA_ARM/Alarm:1.0" def __init__(self, code, type, description): self.code = code
import transmissionParameters_idl _0_transmissionParameters = omniORB.openModule("transmissionParameters") _0_transmissionParameters__POA = omniORB.openModule( "transmissionParameters__POA") # # Start of module "terminationPoint" # __name__ = "terminationPoint" _0_terminationPoint = omniORB.openModule("terminationPoint", r"terminationPoint.idl") _0_terminationPoint__POA = omniORB.openModule("terminationPoint__POA", r"terminationPoint.idl") # enum Directionality_T _0_terminationPoint.D_NA = omniORB.EnumItem("D_NA", 0) _0_terminationPoint.D_BIDIRECTIONAL = omniORB.EnumItem("D_BIDIRECTIONAL", 1) _0_terminationPoint.D_SOURCE = omniORB.EnumItem("D_SOURCE", 2) _0_terminationPoint.D_SINK = omniORB.EnumItem("D_SINK", 3) _0_terminationPoint.Directionality_T = omniORB.Enum( "IDL:mtnm.tmforum.org/terminationPoint/Directionality_T:1.0", ( _0_terminationPoint.D_NA, _0_terminationPoint.D_BIDIRECTIONAL, _0_terminationPoint.D_SOURCE, _0_terminationPoint.D_SINK, )) _0_terminationPoint._d_Directionality_T = ( omniORB.tcInternal.tv_enum, _0_terminationPoint.Directionality_T._NP_RepositoryId, "Directionality_T", _0_terminationPoint.Directionality_T._items)
_0_CORBA = CORBA _omnipy.checkVersion(3,0, __file__) # # Start of module "CARESS" # __name__ = "CARESS" _0_CARESS = omniORB.openModule("CARESS", r"corbadevice.idl") _0_CARESS__POA = omniORB.openModule("CARESS__POA", r"corbadevice.idl") # enum ReturnType _0_CARESS.OK = omniORB.EnumItem("OK", 0) _0_CARESS.NOT_OK = omniORB.EnumItem("NOT_OK", 1) _0_CARESS.ReturnType = omniORB.Enum("IDL:CARESS/ReturnType:1.0", (_0_CARESS.OK, _0_CARESS.NOT_OK,)) _0_CARESS._d_ReturnType = (omniORB.tcInternal.tv_enum, _0_CARESS.ReturnType._NP_RepositoryId, "ReturnType", _0_CARESS.ReturnType._items) _0_CARESS._tc_ReturnType = omniORB.tcInternal.createTypeCode(_0_CARESS._d_ReturnType) omniORB.registerType(_0_CARESS.ReturnType._NP_RepositoryId, _0_CARESS._d_ReturnType, _0_CARESS._tc_ReturnType) # typedef ... ArrayLong class ArrayLong: _NP_RepositoryId = "IDL:CARESS/ArrayLong:1.0" def __init__(self, *args, **kw): raise RuntimeError("Cannot construct objects of this type.") _0_CARESS.ArrayLong = ArrayLong _0_CARESS._d_ArrayLong = (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_long, 0) _0_CARESS._ad_ArrayLong = (omniORB.tcInternal.tv_alias, ArrayLong._NP_RepositoryId, "ArrayLong", (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_long, 0))
class ServiceTypeRepository: _NP_RepositoryId = _0_CosTradingRepos._d_ServiceTypeRepository[1] def __init__(self, *args, **kw): raise RuntimeError("Cannot construct objects of this type.") _nil = CORBA.Object._nil # typedef ... ServiceTypeNameSeq class ServiceTypeNameSeq: _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/ServiceTypeNameSeq:1.0" def __init__(self, *args, **kw): raise RuntimeError("Cannot construct objects of this type.") _d_ServiceTypeNameSeq = ( omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"], 0) _ad_ServiceTypeNameSeq = ( omniORB.tcInternal.tv_alias, ServiceTypeNameSeq._NP_RepositoryId, "ServiceTypeNameSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"], 0)) _tc_ServiceTypeNameSeq = omniORB.tcInternal.createTypeCode( _ad_ServiceTypeNameSeq) omniORB.registerType(ServiceTypeNameSeq._NP_RepositoryId, _ad_ServiceTypeNameSeq, _tc_ServiceTypeNameSeq) # enum PropertyMode PROP_NORMAL = omniORB.EnumItem("PROP_NORMAL", 0) PROP_READONLY = omniORB.EnumItem("PROP_READONLY", 1) PROP_MANDATORY = omniORB.EnumItem("PROP_MANDATORY", 2) PROP_MANDATORY_READONLY = omniORB.EnumItem("PROP_MANDATORY_READONLY", 3) PropertyMode = omniORB.Enum( "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/PropertyMode:1.0", ( PROP_NORMAL, PROP_READONLY, PROP_MANDATORY, PROP_MANDATORY_READONLY, )) _d_PropertyMode = (omniORB.tcInternal.tv_enum, PropertyMode._NP_RepositoryId, "PropertyMode", PropertyMode._items) _tc_PropertyMode = omniORB.tcInternal.createTypeCode(_d_PropertyMode) omniORB.registerType(PropertyMode._NP_RepositoryId, _d_PropertyMode, _tc_PropertyMode) # struct PropStruct _0_CosTradingRepos.ServiceTypeRepository.PropStruct = omniORB.newEmptyClass( ) class PropStruct(omniORB.StructBase): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/PropStruct:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.PropStruct" def __init__(self, name, value_type, mode): self.name = name self.value_type = value_type self.mode = mode _d_PropStruct = _0_CosTradingRepos.ServiceTypeRepository._d_PropStruct = ( omniORB.tcInternal.tv_struct, PropStruct, PropStruct._NP_RepositoryId, "PropStruct", "name", omniORB.typeMapping["IDL:omg.org/CosTrading/PropertyName:1.0"], "value_type", omniORB.tcInternal.tv_TypeCode, "mode", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/PropertyMode:1.0"] ) _tc_PropStruct = omniORB.tcInternal.createTypeCode(_d_PropStruct) omniORB.registerType(PropStruct._NP_RepositoryId, _d_PropStruct, _tc_PropStruct) # typedef ... PropStructSeq class PropStructSeq: _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/PropStructSeq:1.0" def __init__(self, *args, **kw): raise RuntimeError("Cannot construct objects of this type.") _d_PropStructSeq = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/PropStruct:1.0"], 0) _ad_PropStructSeq = ( omniORB.tcInternal.tv_alias, PropStructSeq._NP_RepositoryId, "PropStructSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/PropStruct:1.0"], 0)) _tc_PropStructSeq = omniORB.tcInternal.createTypeCode(_ad_PropStructSeq) omniORB.registerType(PropStructSeq._NP_RepositoryId, _ad_PropStructSeq, _tc_PropStructSeq) # typedef ... Identifier class Identifier: _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/Identifier:1.0" def __init__(self, *args, **kw): raise RuntimeError("Cannot construct objects of this type.") _d_Identifier = omniORB.typeMapping["IDL:omg.org/CosTrading/Istring:1.0"] _ad_Identifier = ( omniORB.tcInternal.tv_alias, Identifier._NP_RepositoryId, "Identifier", omniORB.typeCodeMapping["IDL:omg.org/CosTrading/Istring:1.0"]._d) _tc_Identifier = omniORB.tcInternal.createTypeCode(_ad_Identifier) omniORB.registerType(Identifier._NP_RepositoryId, _ad_Identifier, _tc_Identifier) # struct IncarnationNumber _0_CosTradingRepos.ServiceTypeRepository.IncarnationNumber = omniORB.newEmptyClass( ) class IncarnationNumber(omniORB.StructBase): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/IncarnationNumber:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.IncarnationNumber" def __init__(self, high, low): self.high = high self.low = low _d_IncarnationNumber = _0_CosTradingRepos.ServiceTypeRepository._d_IncarnationNumber = ( omniORB.tcInternal.tv_struct, IncarnationNumber, IncarnationNumber._NP_RepositoryId, "IncarnationNumber", "high", omniORB.tcInternal.tv_ulong, "low", omniORB.tcInternal.tv_ulong) _tc_IncarnationNumber = omniORB.tcInternal.createTypeCode( _d_IncarnationNumber) omniORB.registerType(IncarnationNumber._NP_RepositoryId, _d_IncarnationNumber, _tc_IncarnationNumber) # struct TypeStruct _0_CosTradingRepos.ServiceTypeRepository.TypeStruct = omniORB.newEmptyClass( ) class TypeStruct(omniORB.StructBase): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/TypeStruct:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.TypeStruct" def __init__(self, if_name, props, super_types, masked, incarnation): self.if_name = if_name self.props = props self.super_types = super_types self.masked = masked self.incarnation = incarnation _d_TypeStruct = _0_CosTradingRepos.ServiceTypeRepository._d_TypeStruct = ( omniORB.tcInternal.tv_struct, TypeStruct, TypeStruct._NP_RepositoryId, "TypeStruct", "if_name", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/Identifier:1.0"], "props", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/PropStructSeq:1.0"], "super_types", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/ServiceTypeNameSeq:1.0"], "masked", omniORB.tcInternal.tv_boolean, "incarnation", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/IncarnationNumber:1.0"] ) _tc_TypeStruct = omniORB.tcInternal.createTypeCode(_d_TypeStruct) omniORB.registerType(TypeStruct._NP_RepositoryId, _d_TypeStruct, _tc_TypeStruct) # enum ListOption all = omniORB.EnumItem("all", 0) since = omniORB.EnumItem("since", 1) ListOption = omniORB.Enum( "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/ListOption:1.0", ( all, since, )) _d_ListOption = (omniORB.tcInternal.tv_enum, ListOption._NP_RepositoryId, "ListOption", ListOption._items) _tc_ListOption = omniORB.tcInternal.createTypeCode(_d_ListOption) omniORB.registerType(ListOption._NP_RepositoryId, _d_ListOption, _tc_ListOption) # union SpecifiedServiceTypes _0_CosTradingRepos.ServiceTypeRepository.SpecifiedServiceTypes = omniORB.newEmptyClass( ) class SpecifiedServiceTypes(omniORB.Union): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/SpecifiedServiceTypes:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.SpecifiedServiceTypes" SpecifiedServiceTypes._m_to_d = {"incarnation": since} SpecifiedServiceTypes._d_to_m = {since: "incarnation"} SpecifiedServiceTypes._def_m = None SpecifiedServiceTypes._def_d = None _m_SpecifiedServiceTypes = ((since, "incarnation", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/IncarnationNumber:1.0"] ), ) _d_SpecifiedServiceTypes = _0_CosTradingRepos.ServiceTypeRepository._d_SpecifiedServiceTypes = ( omniORB.tcInternal.tv_union, SpecifiedServiceTypes, SpecifiedServiceTypes._NP_RepositoryId, "SpecifiedServiceTypes", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/ListOption:1.0"], -1, _m_SpecifiedServiceTypes, None, { since: _m_SpecifiedServiceTypes[0] }) _tc_SpecifiedServiceTypes = omniORB.tcInternal.createTypeCode( _d_SpecifiedServiceTypes) omniORB.registerType(SpecifiedServiceTypes._NP_RepositoryId, _d_SpecifiedServiceTypes, _tc_SpecifiedServiceTypes) # exception ServiceTypeExists _0_CosTradingRepos.ServiceTypeRepository.ServiceTypeExists = omniORB.newEmptyClass( ) class ServiceTypeExists(CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/ServiceTypeExists:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.ServiceTypeExists" def __init__(self, name): CORBA.UserException.__init__(self, name) self.name = name _d_ServiceTypeExists = ( omniORB.tcInternal.tv_except, ServiceTypeExists, ServiceTypeExists._NP_RepositoryId, "ServiceTypeExists", "name", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"]) _tc_ServiceTypeExists = omniORB.tcInternal.createTypeCode( _d_ServiceTypeExists) omniORB.registerType(ServiceTypeExists._NP_RepositoryId, _d_ServiceTypeExists, _tc_ServiceTypeExists) # exception InterfaceTypeMismatch _0_CosTradingRepos.ServiceTypeRepository.InterfaceTypeMismatch = omniORB.newEmptyClass( ) class InterfaceTypeMismatch(CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/InterfaceTypeMismatch:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.InterfaceTypeMismatch" def __init__(self, base_service, base_if, derived_service, derived_if): CORBA.UserException.__init__(self, base_service, base_if, derived_service, derived_if) self.base_service = base_service self.base_if = base_if self.derived_service = derived_service self.derived_if = derived_if _d_InterfaceTypeMismatch = ( omniORB.tcInternal.tv_except, InterfaceTypeMismatch, InterfaceTypeMismatch._NP_RepositoryId, "InterfaceTypeMismatch", "base_service", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"], "base_if", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/Identifier:1.0"], "derived_service", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"], "derived_if", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/Identifier:1.0"] ) _tc_InterfaceTypeMismatch = omniORB.tcInternal.createTypeCode( _d_InterfaceTypeMismatch) omniORB.registerType(InterfaceTypeMismatch._NP_RepositoryId, _d_InterfaceTypeMismatch, _tc_InterfaceTypeMismatch) # exception HasSubTypes _0_CosTradingRepos.ServiceTypeRepository.HasSubTypes = omniORB.newEmptyClass( ) class HasSubTypes(CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/HasSubTypes:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.HasSubTypes" def __init__(self, the_type, sub_type): CORBA.UserException.__init__(self, the_type, sub_type) self.the_type = the_type self.sub_type = sub_type _d_HasSubTypes = ( omniORB.tcInternal.tv_except, HasSubTypes, HasSubTypes._NP_RepositoryId, "HasSubTypes", "the_type", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"], "sub_type", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"]) _tc_HasSubTypes = omniORB.tcInternal.createTypeCode(_d_HasSubTypes) omniORB.registerType(HasSubTypes._NP_RepositoryId, _d_HasSubTypes, _tc_HasSubTypes) # exception AlreadyMasked _0_CosTradingRepos.ServiceTypeRepository.AlreadyMasked = omniORB.newEmptyClass( ) class AlreadyMasked(CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/AlreadyMasked:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.AlreadyMasked" def __init__(self, name): CORBA.UserException.__init__(self, name) self.name = name _d_AlreadyMasked = ( omniORB.tcInternal.tv_except, AlreadyMasked, AlreadyMasked._NP_RepositoryId, "AlreadyMasked", "name", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"]) _tc_AlreadyMasked = omniORB.tcInternal.createTypeCode(_d_AlreadyMasked) omniORB.registerType(AlreadyMasked._NP_RepositoryId, _d_AlreadyMasked, _tc_AlreadyMasked) # exception NotMasked _0_CosTradingRepos.ServiceTypeRepository.NotMasked = omniORB.newEmptyClass( ) class NotMasked(CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/NotMasked:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.NotMasked" def __init__(self, name): CORBA.UserException.__init__(self, name) self.name = name _d_NotMasked = ( omniORB.tcInternal.tv_except, NotMasked, NotMasked._NP_RepositoryId, "NotMasked", "name", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"]) _tc_NotMasked = omniORB.tcInternal.createTypeCode(_d_NotMasked) omniORB.registerType(NotMasked._NP_RepositoryId, _d_NotMasked, _tc_NotMasked) # exception ValueTypeRedefinition _0_CosTradingRepos.ServiceTypeRepository.ValueTypeRedefinition = omniORB.newEmptyClass( ) class ValueTypeRedefinition(CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/ValueTypeRedefinition:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.ValueTypeRedefinition" def __init__(self, type_1, definition_1, type_2, definition_2): CORBA.UserException.__init__(self, type_1, definition_1, type_2, definition_2) self.type_1 = type_1 self.definition_1 = definition_1 self.type_2 = type_2 self.definition_2 = definition_2 _d_ValueTypeRedefinition = ( omniORB.tcInternal.tv_except, ValueTypeRedefinition, ValueTypeRedefinition._NP_RepositoryId, "ValueTypeRedefinition", "type_1", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"], "definition_1", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/PropStruct:1.0"], "type_2", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"], "definition_2", omniORB.typeMapping[ "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/PropStruct:1.0"] ) _tc_ValueTypeRedefinition = omniORB.tcInternal.createTypeCode( _d_ValueTypeRedefinition) omniORB.registerType(ValueTypeRedefinition._NP_RepositoryId, _d_ValueTypeRedefinition, _tc_ValueTypeRedefinition) # exception DuplicateServiceTypeName _0_CosTradingRepos.ServiceTypeRepository.DuplicateServiceTypeName = omniORB.newEmptyClass( ) class DuplicateServiceTypeName(CORBA.UserException): _NP_RepositoryId = "IDL:omg.org/CosTradingRepos/ServiceTypeRepository/DuplicateServiceTypeName:1.0" _NP_ClassName = "CosTradingRepos.ServiceTypeRepository.DuplicateServiceTypeName" def __init__(self, name): CORBA.UserException.__init__(self, name) self.name = name _d_DuplicateServiceTypeName = ( omniORB.tcInternal.tv_except, DuplicateServiceTypeName, DuplicateServiceTypeName._NP_RepositoryId, "DuplicateServiceTypeName", "name", omniORB.typeMapping["IDL:omg.org/CosTrading/ServiceTypeName:1.0"]) _tc_DuplicateServiceTypeName = omniORB.tcInternal.createTypeCode( _d_DuplicateServiceTypeName) omniORB.registerType(DuplicateServiceTypeName._NP_RepositoryId, _d_DuplicateServiceTypeName, _tc_DuplicateServiceTypeName)
_0_CosNaming.Name = Name _0_CosNaming._d_Name = ( omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNaming/NameComponent:1.0"], 0) _0_CosNaming._ad_Name = ( omniORB.tcInternal.tv_alias, Name._NP_RepositoryId, "Name", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNaming/NameComponent:1.0"], 0)) _0_CosNaming._tc_Name = omniORB.tcInternal.createTypeCode( _0_CosNaming._ad_Name) omniORB.registerType(Name._NP_RepositoryId, _0_CosNaming._ad_Name, _0_CosNaming._tc_Name) del Name # enum BindingType _0_CosNaming.nobject = omniORB.EnumItem("nobject", 0) _0_CosNaming.ncontext = omniORB.EnumItem("ncontext", 1) _0_CosNaming.BindingType = omniORB.Enum( "IDL:omg.org/CosNaming/BindingType:1.0", ( _0_CosNaming.nobject, _0_CosNaming.ncontext, )) _0_CosNaming._d_BindingType = (omniORB.tcInternal.tv_enum, _0_CosNaming.BindingType._NP_RepositoryId, "BindingType", _0_CosNaming.BindingType._items) _0_CosNaming._tc_BindingType = omniORB.tcInternal.createTypeCode( _0_CosNaming._d_BindingType) omniORB.registerType(_0_CosNaming.BindingType._NP_RepositoryId, _0_CosNaming._d_BindingType, _0_CosNaming._tc_BindingType)