21#ifndef PLUGINS_USBDMX_VELLEMANK8062FACTORY_H_
22#define PLUGINS_USBDMX_VELLEMANK8062FACTORY_H_
24#include "libs/usb/LibUsbAdaptor.h"
26#include "plugins/usbdmx/WidgetFactory.h"
35class VellemanK8062Factory :
public BaseWidgetFactory<class VellemanK8062> {
38 : BaseWidgetFactory<class VellemanK8062>(
"VellemanK8062Factory"),
44 libusb_device *usb_device,
45 const struct libusb_device_descriptor &descriptor);
50 static const uint16_t VENDOR_ID;
51 static const uint16_t PRODUCT_ID;
53 VellemanK8062Factory(
const VellemanK8062Factory &) =
delete;
54 const VellemanK8062Factory &operator=(
const VellemanK8062Factory &) =
delete;
bool DeviceAdded(WidgetObserver *observer, libusb_device *usb_device, const struct libusb_device_descriptor &descriptor)
Called when a new USB device is added.
Definition VellemanK8062Factory.cpp:36
Wraps calls to libusb so we can test the code.
Definition LibUsbAdaptor.h:36
The plugin for hardware using libusb.
Code for supported devices and protocols.
The namespace containing all OLA symbols.
Definition Credentials.cpp:44