Module usb_ids :: Class DeviceID
[show private | hide private]
[frames | no frames]

Class DeviceID

usbInfoObject --+
                |
               DeviceID


This class abstracts USB Device ID information It holds the description and a list of the Interface ID's
Method Summary
  addInterface(self, interface)
Put this interface on our list
  getInterface(self, interface)
Return the requested interface by ID, if we have it
  getInterfaces(self)
Return a list of our interfaces
    Inherited from usbInfoObject
  __init__(self, id, description)
Set our ID code, description, and prepare to accept children
  addChild(self, child)
Add a child to our list
  description(self)
Return the description for this object
  getChild(self, child)
If we have a child matching the request, return it
  getChildren(self)
Return a list of all our children
  id(self)
Return our ID code

Method Details

addInterface(self, interface)

Put this interface on our list

getInterface(self, interface)

Return the requested interface by ID, if we have it

getInterfaces(self)

Return a list of our interfaces

Generated by Epydoc 2.1 on Fri Aug 15 18:58:26 2008 http://epydoc.sf.net