Open Lighting Architecture
0.10.4
|
An Velleman widget that uses asynchronous libusb operations.
Public Member Functions | |
AsynchronousVellemanK8062 (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device) | |
Create a new AsynchronousVellemanK8062. More... | |
bool | Init () |
Initialize the widget. More... | |
bool | SendDMX (const DmxBuffer &buffer) |
Send DMX data from this widget. More... | |
Public Member Functions inherited from ola::plugin::usbdmx::VellemanK8062 | |
VellemanK8062 (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device) | |
Public Member Functions inherited from ola::plugin::usbdmx::SimpleWidget | |
SimpleWidget (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device) | |
Create a new SimpleWidget. More... | |
ola::usb::USBDeviceID | GetDeviceId () const |
The device ID of this widget. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ola::plugin::usbdmx::SimpleWidget | |
ola::usb::LibUsbAdaptor *const | m_adaptor |
libusb_device *const | m_usb_device |
ola::plugin::usbdmx::AsynchronousVellemanK8062::AsynchronousVellemanK8062 | ( | ola::usb::LibUsbAdaptor * | adaptor, |
libusb_device * | usb_device | ||
) |
Create a new AsynchronousVellemanK8062.
adaptor | the LibUsbAdaptor to use. |
usb_device | the libusb_device to use for the widget. |
|
virtual |
Initialize the widget.
Implements ola::plugin::usbdmx::WidgetInterface.
|
virtual |
Send DMX data from this widget.
buffer | The DmxBuffer containing the data to send. |
Implements ola::plugin::usbdmx::WidgetInterface.