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

Class USBClassSubclass

usbInfoObject --+
                |
               USBClassSubclass


This class abstracts USB Device SubClass information It holds the description and a list of the protocols
Method Summary
  addProtocol(self, protocol)
Put this protocol on our list
  getProtocol(self, protocol)
Return protocol as ID, if we have it
  getProtocols(self)
Return a list of our protocols
    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

addProtocol(self, protocol)

Put this protocol on our list

getProtocol(self, protocol)

Return protocol as ID, if we have it

getProtocols(self)

Return a list of our protocols

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