![]() |
Open Lighting Architecture
0.10.4
|
Creates Fadecandy widgets.
Public Member Functions | |
ScanlimeFadecandyFactory (ola::usb::LibUsbAdaptor *adaptor) | |
bool | DeviceAdded (WidgetObserver *observer, libusb_device *usb_device, const struct libusb_device_descriptor &descriptor) |
Called when a new USB device is added. More... | |
![]() | |
BaseWidgetFactory (const std::string &name) | |
std::string | Name () const |
The name of this factory. More... | |
Additional Inherited Members | |
![]() | |
bool | AddWidget (WidgetObserver *observer, class ScanlimeFadecandy *widget) |
Initialize a widget and notify the observer. More... | |
|
virtual |
Called when a new USB device is added.
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. |
Implements ola::plugin::usbdmx::WidgetFactory.