bool ola::plugin::usbdmx::JaRuleFactory::DeviceAdded |
( |
WidgetObserver * |
observer, |
|
|
libusb_device * |
usb_device, |
|
|
const struct libusb_device_descriptor & |
descriptor |
|
) |
| |
|
virtual |
Called when a new USB device is added.
- Parameters
-
observer | The WidgetObserver to notify if this results in a new widget. |
usb_device | the libusb_device that was added. |
descriptor | the libusb_device_descriptor that corresponds to the usb_device. |
- Returns
- True if this factory has claimed the usb_device, false otherwise.
Implements ola::plugin::usbdmx::WidgetFactory.
The documentation for this class was generated from the following files: