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.
|
__init__(self,
id,
description)
Set our ID code, description, and prepare to accept children |
source code
|
|
|
description(self)
Return the description for this object |
source code
|
|
|
|
|
addChild(self,
child)
Add a child to our list |
source code
|
|
|
getChild(self,
child)
If we have a child matching the request, return it |
source code
|
|
|
getChildren(self)
Return a list of all our children |
source code
|
|