GizmoDeviceClass::GizmoDeviceClass Class Reference

List of all members.

Public Member Functions

def setDeviceClass
def __init__

Public Attributes

 DeviceClass
 DeviceInfo


Detailed Description

This class is responsible for telling GizmoDaemon what the class
of the devices are that are attached to the system.  Ie, if 
Gizmo Daemon detects "KeyTronic Keyboard" this class should respond
by setting its type to Gizmod.GizmoClass.Standard -- See the C++ API
documention regarding Gizmo.hpp for a complete list (and description)
of the available enums.

This is provided as a way of manually intervening in the device
registration process.  There are cases where certain devices enumerate
themselves with unintuitive descriptions such as "InniTech 
Corp Device v.413" or <blank>.

There are a number of device identification fields available
include product and vendor codes.

Definition at line 40 of file GizmoDeviceClass.py.


Member Function Documentation

def GizmoDeviceClass::GizmoDeviceClass::setDeviceClass (   self,
  DeviceInfo 
)

Calculate the device type from the device ID info

For information regarding the DeviceInformation fields see the API documention for
H::DeviceInfo, but the following fields are available:
        - DeviceIDBusType;	< Bus Type of the device
        - DeviceIDProduct;	< Product code of the device
        - DeviceIDVendor;	< Vendor ID of the device
        - DeviceIDVersion;	< Version of the device
        - DeviceName;		< Name of the device
        - FileName	 	< Name of the file to watch

Definition at line 62 of file GizmoDeviceClass.py.

def GizmoDeviceClass::GizmoDeviceClass::__init__ (   self,
  DeviceInformation 
)

Default Constructor

Definition at line 90 of file GizmoDeviceClass.py.


The documentation for this class was generated from the following file:
Generated on Wed Nov 7 10:07:09 2007 for gizmod by  doxygen 1.5.3