Public Member Functions | |
def | handleDeviceAddition |
def | handleDeviceRemoval |
def | __init__ |
Public Attributes | |
DeviceType | |
Device |
This class is responsible for any book keeping that needs to occur after a new device has been registered with the system, and when a device is being disconnected. This is where individual devices are chosen based on their device name, product code, vendor ID, etc. So for example, a device with "Keyboard" in the name is registered as a Keyboard with Gizmo Daemon.
Definition at line 56 of file GizmoRegistrar.py.
def GizmoRegistrar::GizmoRegistrar::handleDeviceAddition | ( | self | ) |
Add the appropriate device to our internal list of devices base on the actual type of the device.
Definition at line 73 of file GizmoRegistrar.py.
def GizmoRegistrar::GizmoRegistrar::handleDeviceRemoval | ( | self | ) |
Remove the appropriate device from our internal list of devices
Definition at line 99 of file GizmoRegistrar.py.
def GizmoRegistrar::GizmoRegistrar::__init__ | ( | self, | ||
Device | ||||
) |