![]() |
Open Lighting Architecture
0.9.4
|
An EurolitePro widget that uses synchronous libusb operations.
Internally this spawns a new thread to avoid blocking SendDMX() calls.
Public Member Functions | |
| SynchronousEurolitePro (LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial) | |
| Create a new SynchronousEurolitePro. | |
| bool | Init () |
| Initialize the widget. | |
| bool | SendDMX (const DmxBuffer &buffer) |
| Send DMX data from this widget. | |
Public Member Functions inherited from ola::plugin::usbdmx::EurolitePro | |
| EurolitePro (LibUsbAdaptor *adaptor, const std::string &serial) | |
| Create a new EurolitePro. | |
| std::string | SerialNumber () const |
| Get the serial number of this widget. | |
Public Member Functions inherited from ola::plugin::usbdmx::BaseWidget | |
| BaseWidget (class LibUsbAdaptor *adaptor) | |
| Create a new BaseWidget. | |
Additional Inherited Members | |
Protected Attributes inherited from ola::plugin::usbdmx::BaseWidget | |
| class LibUsbAdaptor *const | m_adaptor |
| ola::plugin::usbdmx::SynchronousEurolitePro::SynchronousEurolitePro | ( | LibUsbAdaptor * | adaptor, |
| libusb_device * | usb_device, | ||
| const std::string & | serial | ||
| ) |
Create a new SynchronousEurolitePro.
| adaptor | the LibUsbAdaptor to use. |
| usb_device | the libusb_device to use for the widget. |
| serial | the serial number of the widget. |
|
virtual |
Initialize the widget.
Implements ola::plugin::usbdmx::Widget.
|
virtual |
Send DMX data from this widget.
| buffer | The DmxBuffer containing the data to send. |
Implements ola::plugin::usbdmx::Widget.
1.8.1.2