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

Class usbInfoObject

Known Subclasses:
DeviceID, InterfaceID, USBClass, USBClassProtocol, USBClassSubclass, VendorID

Super class for all types of USB vendor/device/interface/class/sublcass/protocol classes which will be descendants of this. I chose to make and use various children of this class, as it's possible they may have unique information of their own some time later, as well as allowing a more natural name/syntax based on object use.
Method Summary
  __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

__init__(self, id, description)
(Constructor)

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

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