AbsoluteForceSensorService_idl.py
Go to the documentation of this file.
00001 # Python stubs generated by omniidl from /home/k-okada/catkin_ws/ws_old_hrpsys/build/hrpsys/build/hrpsys-base-source/idl/AbsoluteForceSensorService.idl
00002 
00003 import omniORB, _omnipy
00004 from omniORB import CORBA, PortableServer
00005 _0_CORBA = CORBA
00006 
00007 _omnipy.checkVersion(3,0, __file__)
00008 
00009 
00010 #
00011 # Start of module "OpenHRP"
00012 #
00013 __name__ = "OpenHRP"
00014 _0_OpenHRP = omniORB.openModule("OpenHRP", r"/home/k-okada/catkin_ws/ws_old_hrpsys/build/hrpsys/build/hrpsys-base-source/idl/AbsoluteForceSensorService.idl")
00015 _0_OpenHRP__POA = omniORB.openModule("OpenHRP__POA", r"/home/k-okada/catkin_ws/ws_old_hrpsys/build/hrpsys/build/hrpsys-base-source/idl/AbsoluteForceSensorService.idl")
00016 
00017 
00018 # interface AbsoluteForceSensorService
00019 _0_OpenHRP._d_AbsoluteForceSensorService = (omniORB.tcInternal.tv_objref, "IDL:OpenHRP/AbsoluteForceSensorService:1.0", "AbsoluteForceSensorService")
00020 omniORB.typeMapping["IDL:OpenHRP/AbsoluteForceSensorService:1.0"] = _0_OpenHRP._d_AbsoluteForceSensorService
00021 _0_OpenHRP.AbsoluteForceSensorService = omniORB.newEmptyClass()
00022 class AbsoluteForceSensorService :
00023     _NP_RepositoryId = _0_OpenHRP._d_AbsoluteForceSensorService[1]
00024 
00025     def __init__(self, *args, **kw):
00026         raise RuntimeError("Cannot construct objects of this type.")
00027 
00028     _nil = CORBA.Object._nil
00029 
00030     
00031     # typedef ... DblSequence3
00032     class DblSequence3:
00033         _NP_RepositoryId = "IDL:OpenHRP/AbsoluteForceSensorService/DblSequence3:1.0"
00034         def __init__(self, *args, **kw):
00035             raise RuntimeError("Cannot construct objects of this type.")
00036     _d_DblSequence3  = (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_double, 3)
00037     _ad_DblSequence3 = (omniORB.tcInternal.tv_alias, DblSequence3._NP_RepositoryId, "DblSequence3", (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_double, 3))
00038     _tc_DblSequence3 = omniORB.tcInternal.createTypeCode(_ad_DblSequence3)
00039     omniORB.registerType(DblSequence3._NP_RepositoryId, _ad_DblSequence3, _tc_DblSequence3)
00040     
00041     # struct forcemomentOffsetParam
00042     _0_OpenHRP.AbsoluteForceSensorService.forcemomentOffsetParam = omniORB.newEmptyClass()
00043     class forcemomentOffsetParam (omniORB.StructBase):
00044         _NP_RepositoryId = "IDL:OpenHRP/AbsoluteForceSensorService/forcemomentOffsetParam:1.0"
00045 
00046         _NP_ClassName = "OpenHRP.AbsoluteForceSensorService.forcemomentOffsetParam"
00047 
00048         def __init__(self, force_offset, moment_offset, link_offset_centroid, link_offset_mass):
00049             self.force_offset = force_offset
00050             self.moment_offset = moment_offset
00051             self.link_offset_centroid = link_offset_centroid
00052             self.link_offset_mass = link_offset_mass
00053     
00054     _d_forcemomentOffsetParam  = _0_OpenHRP.AbsoluteForceSensorService._d_forcemomentOffsetParam = (omniORB.tcInternal.tv_struct, forcemomentOffsetParam, forcemomentOffsetParam._NP_RepositoryId, "forcemomentOffsetParam", "force_offset", omniORB.typeMapping["IDL:OpenHRP/AbsoluteForceSensorService/DblSequence3:1.0"], "moment_offset", omniORB.typeMapping["IDL:OpenHRP/AbsoluteForceSensorService/DblSequence3:1.0"], "link_offset_centroid", omniORB.typeMapping["IDL:OpenHRP/AbsoluteForceSensorService/DblSequence3:1.0"], "link_offset_mass", omniORB.tcInternal.tv_double)
00055     _tc_forcemomentOffsetParam = omniORB.tcInternal.createTypeCode(_d_forcemomentOffsetParam)
00056     omniORB.registerType(forcemomentOffsetParam._NP_RepositoryId, _d_forcemomentOffsetParam, _tc_forcemomentOffsetParam)
00057 
00058 
00059 _0_OpenHRP.AbsoluteForceSensorService = AbsoluteForceSensorService
00060 _0_OpenHRP._tc_AbsoluteForceSensorService = omniORB.tcInternal.createTypeCode(_0_OpenHRP._d_AbsoluteForceSensorService)
00061 omniORB.registerType(AbsoluteForceSensorService._NP_RepositoryId, _0_OpenHRP._d_AbsoluteForceSensorService, _0_OpenHRP._tc_AbsoluteForceSensorService)
00062 
00063 # AbsoluteForceSensorService operations and attributes
00064 AbsoluteForceSensorService._d_setForceMomentOffsetParam = (((omniORB.tcInternal.tv_string,0), omniORB.typeMapping["IDL:OpenHRP/AbsoluteForceSensorService/forcemomentOffsetParam:1.0"]), (omniORB.tcInternal.tv_boolean, ), None)
00065 AbsoluteForceSensorService._d_getForceMomentOffsetParam = (((omniORB.tcInternal.tv_string,0), ), (omniORB.tcInternal.tv_boolean, omniORB.typeMapping["IDL:OpenHRP/AbsoluteForceSensorService/forcemomentOffsetParam:1.0"]), None)
00066 
00067 # AbsoluteForceSensorService object reference
00068 class _objref_AbsoluteForceSensorService (CORBA.Object):
00069     _NP_RepositoryId = AbsoluteForceSensorService._NP_RepositoryId
00070 
00071     def __init__(self):
00072         CORBA.Object.__init__(self)
00073 
00074     def setForceMomentOffsetParam(self, *args):
00075         return _omnipy.invoke(self, "setForceMomentOffsetParam", _0_OpenHRP.AbsoluteForceSensorService._d_setForceMomentOffsetParam, args)
00076 
00077     def getForceMomentOffsetParam(self, *args):
00078         return _omnipy.invoke(self, "getForceMomentOffsetParam", _0_OpenHRP.AbsoluteForceSensorService._d_getForceMomentOffsetParam, args)
00079 
00080     __methods__ = ["setForceMomentOffsetParam", "getForceMomentOffsetParam"] + CORBA.Object.__methods__
00081 
00082 omniORB.registerObjref(AbsoluteForceSensorService._NP_RepositoryId, _objref_AbsoluteForceSensorService)
00083 _0_OpenHRP._objref_AbsoluteForceSensorService = _objref_AbsoluteForceSensorService
00084 del AbsoluteForceSensorService, _objref_AbsoluteForceSensorService
00085 
00086 # AbsoluteForceSensorService skeleton
00087 __name__ = "OpenHRP__POA"
00088 class AbsoluteForceSensorService (PortableServer.Servant):
00089     _NP_RepositoryId = _0_OpenHRP.AbsoluteForceSensorService._NP_RepositoryId
00090 
00091 
00092     _omni_op_d = {"setForceMomentOffsetParam": _0_OpenHRP.AbsoluteForceSensorService._d_setForceMomentOffsetParam, "getForceMomentOffsetParam": _0_OpenHRP.AbsoluteForceSensorService._d_getForceMomentOffsetParam}
00093 
00094 AbsoluteForceSensorService._omni_skeleton = AbsoluteForceSensorService
00095 _0_OpenHRP__POA.AbsoluteForceSensorService = AbsoluteForceSensorService
00096 omniORB.registerSkeleton(AbsoluteForceSensorService._NP_RepositoryId, AbsoluteForceSensorService)
00097 del AbsoluteForceSensorService
00098 __name__ = "OpenHRP"
00099 
00100 #
00101 # End of module "OpenHRP"
00102 #
00103 __name__ = "AbsoluteForceSensorService_idl"
00104 
00105 _exported_modules = ( "OpenHRP", )
00106 
00107 # The end.


hironx_ros_bridge
Author(s): Kei Okada
autogenerated on Sun Sep 13 2015 23:21:39