# Python stubs generated by omniidl from /local/robotpkg/var/tmp/robotpkg/path/py-hpp-manipulation-corba/work/hpp-manipulation-corba-9.0.2/idl/hpp/manipulation_idl/device.idl
# DO NOT EDIT THIS FILE!

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


_omnipy.checkVersion(4,2, __file__, 1)

try:
    property
except NameError:
    def property(*args):
        return None


# #include "hpp/common.idl"
import hpp_stubs.common_idl
_0_hpp = omniORB.openModule("hpp_stubs.hpp")
_0_hpp__POA = omniORB.openModule("hpp_stubs.hpp__POA")

# #include "hpp/pinocchio_idl/robots.idl"
import hpp_stubs.pinocchio.robots_idl
_0_hpp = omniORB.openModule("hpp_stubs.pinocchio.hpp")
_0_hpp__POA = omniORB.openModule("hpp_stubs.pinocchio.hpp__POA")
_0_hpp.pinocchio_idl = omniORB.openModule("hpp_stubs.pinocchio.hpp.pinocchio_idl")
_0_hpp__POA.pinocchio_idl = omniORB.openModule("hpp_stubs.pinocchio.hpp__POA.pinocchio_idl")

#
# Start of module "hpp"
#
__name__ = "hpp_idl.hpp"
_0_hpp = omniORB.openModule("hpp_idl.hpp", r"/local/robotpkg/var/tmp/robotpkg/path/py-hpp-manipulation-corba/work/hpp-manipulation-corba-9.0.2/idl/hpp/manipulation_idl/device.idl")
_0_hpp__POA = omniORB.openModule("hpp_idl.hpp__POA", r"/local/robotpkg/var/tmp/robotpkg/path/py-hpp-manipulation-corba/work/hpp-manipulation-corba-9.0.2/idl/hpp/manipulation_idl/device.idl")


#
# Start of module "hpp.manipulation_idl"
#
__name__ = "hpp_idl.hpp.manipulation_idl"
_0_hpp.manipulation_idl = omniORB.openModule("hpp_idl.hpp.manipulation_idl", r"/local/robotpkg/var/tmp/robotpkg/path/py-hpp-manipulation-corba/work/hpp-manipulation-corba-9.0.2/idl/hpp/manipulation_idl/device.idl")
_0_hpp__POA.manipulation_idl = omniORB.openModule("hpp_idl.hpp__POA.manipulation_idl", r"/local/robotpkg/var/tmp/robotpkg/path/py-hpp-manipulation-corba/work/hpp-manipulation-corba-9.0.2/idl/hpp/manipulation_idl/device.idl")


# interface Handle
_0_hpp.manipulation_idl._d_Handle = (omniORB.tcInternal.tv_objref, "IDL:hpp/manipulation_idl/Handle:1.0", "Handle")
omniORB.typeMapping["IDL:hpp/manipulation_idl/Handle:1.0"] = _0_hpp.manipulation_idl._d_Handle
_0_hpp.manipulation_idl.Handle = omniORB.newEmptyClass()
class Handle :
    _NP_RepositoryId = _0_hpp.manipulation_idl._d_Handle[1]

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

    _nil = CORBA.Object._nil

    setMask__doc__ = "\012Prototype:\011      void setMask(in boolSeq mask) raises(Error);\012"


_0_hpp.manipulation_idl.Handle = Handle
_0_hpp.manipulation_idl._tc_Handle = omniORB.tcInternal.createTypeCode(_0_hpp.manipulation_idl._d_Handle)
omniORB.registerType(Handle._NP_RepositoryId, _0_hpp.manipulation_idl._d_Handle, _0_hpp.manipulation_idl._tc_Handle)

# Handle operations and attributes
Handle._d_setMask = ((omniORB.typeMapping["IDL:hpp/boolSeq:1.0"], ), (), {_0_hpp.Error._NP_RepositoryId: _0_hpp._d_Error})

# Handle object reference
class _objref_Handle (CORBA.Object):
    _NP_RepositoryId = Handle._NP_RepositoryId

    def __init__(self, obj):
        CORBA.Object.__init__(self, obj)

    def setMask(self, *args):
        return self._obj.invoke("setMask", _0_hpp.manipulation_idl.Handle._d_setMask, args)

omniORB.registerObjref(Handle._NP_RepositoryId, _objref_Handle)
_0_hpp.manipulation_idl._objref_Handle = _objref_Handle
del Handle, _objref_Handle

# Handle skeleton
__name__ = "hpp_idl.hpp__POA.manipulation_idl"
class Handle (PortableServer.Servant):
    _NP_RepositoryId = _0_hpp.manipulation_idl.Handle._NP_RepositoryId


    _omni_op_d = {"setMask": _0_hpp.manipulation_idl.Handle._d_setMask}

Handle._omni_skeleton = Handle
_0_hpp__POA.manipulation_idl.Handle = Handle
omniORB.registerSkeleton(Handle._NP_RepositoryId, Handle)
del Handle
__name__ = "hpp_idl.hpp.manipulation_idl"

# interface Device
_0_hpp.manipulation_idl._d_Device = (omniORB.tcInternal.tv_objref, "IDL:hpp/manipulation_idl/Device:1.0", "Device")
omniORB.typeMapping["IDL:hpp/manipulation_idl/Device:1.0"] = _0_hpp.manipulation_idl._d_Device
_0_hpp.manipulation_idl.Device = omniORB.newEmptyClass()
class Device (_0_hpp.pinocchio_idl.Device):
    _NP_RepositoryId = _0_hpp.manipulation_idl._d_Device[1]

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

    _nil = CORBA.Object._nil

    getHandleNames__doc__ = "\012Prototype:\011      Names_t getHandleNames() raises(Error);\012"
    getHandle__doc__ = "\012Prototype:\011      Handle getHandle (in string name) raises(Error);\012"


_0_hpp.manipulation_idl.Device = Device
_0_hpp.manipulation_idl._tc_Device = omniORB.tcInternal.createTypeCode(_0_hpp.manipulation_idl._d_Device)
omniORB.registerType(Device._NP_RepositoryId, _0_hpp.manipulation_idl._d_Device, _0_hpp.manipulation_idl._tc_Device)

# Device operations and attributes
Device._d_getHandleNames = ((), (omniORB.typeMapping["IDL:hpp/Names_t:1.0"], ), {_0_hpp.Error._NP_RepositoryId: _0_hpp._d_Error})
Device._d_getHandle = (((omniORB.tcInternal.tv_string,0), ), (omniORB.typeMapping["IDL:hpp/manipulation_idl/Handle:1.0"], ), {_0_hpp.Error._NP_RepositoryId: _0_hpp._d_Error})

# Device object reference
class _objref_Device (_0_hpp.pinocchio_idl._objref_Device):
    _NP_RepositoryId = Device._NP_RepositoryId

    def __init__(self, obj):
        _0_hpp.pinocchio_idl._objref_Device.__init__(self, obj)

    def getHandleNames(self, *args):
        return self._obj.invoke("getHandleNames", _0_hpp.manipulation_idl.Device._d_getHandleNames, args)

    def getHandle(self, *args):
        return self._obj.invoke("getHandle", _0_hpp.manipulation_idl.Device._d_getHandle, args)

omniORB.registerObjref(Device._NP_RepositoryId, _objref_Device)
_0_hpp.manipulation_idl._objref_Device = _objref_Device
del Device, _objref_Device

# Device skeleton
__name__ = "hpp_idl.hpp__POA.manipulation_idl"
class Device (_0_hpp__POA.pinocchio_idl.Device):
    _NP_RepositoryId = _0_hpp.manipulation_idl.Device._NP_RepositoryId


    _omni_op_d = {"getHandleNames": _0_hpp.manipulation_idl.Device._d_getHandleNames, "getHandle": _0_hpp.manipulation_idl.Device._d_getHandle}
    _omni_op_d.update(_0_hpp__POA.pinocchio_idl.Device._omni_op_d)

Device._omni_skeleton = Device
_0_hpp__POA.manipulation_idl.Device = Device
omniORB.registerSkeleton(Device._NP_RepositoryId, Device)
del Device
__name__ = "hpp_idl.hpp.manipulation_idl"

#
# End of module "hpp.manipulation_idl"
#
__name__ = "hpp_idl.hpp"


#
# End of module "hpp"
#
__name__ = "hpp_stubs.manipulation.device_idl"

#
# Docstrings
#

omniORB.setDocString(_0_hpp.manipulation_idl._objref_Handle.setMask, _0_hpp.manipulation_idl.Handle.setMask__doc__)
omniORB.setDocString(_0_hpp.manipulation_idl._objref_Device.getHandleNames, _0_hpp.manipulation_idl.Device.getHandleNames__doc__)
omniORB.setDocString(_0_hpp.manipulation_idl._objref_Device.getHandle, _0_hpp.manipulation_idl.Device.getHandle__doc__)

_exported_modules = ( "hpp_idl.hpp", "hpp_idl.hpp.manipulation_idl")

# The end.
