Open Lighting Architecture
Latest Git
|
The EurolitePro Widget.
Public Member Functions | |
EurolitePro (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial, bool is_mk2) | |
Create a new EurolitePro. More... | |
std::string | SerialNumber () const |
Get the serial number of this widget. More... | |
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... | |
Public Member Functions inherited from ola::plugin::usbdmx::WidgetInterface | |
virtual bool | Init ()=0 |
Initialize the widget. More... | |
virtual bool | SendDMX (const DmxBuffer &buffer)=0 |
Send DMX data from this widget. More... | |
Protected Attributes | |
bool | m_is_mk2 |
Protected Attributes inherited from ola::plugin::usbdmx::SimpleWidget | |
ola::usb::LibUsbAdaptor *const | m_adaptor |
libusb_device *const | m_usb_device |
|
inline |
Create a new EurolitePro.
adaptor | the LibUsbAdaptor to use. |
usb_device | the libusb_device to use for the widget. |
serial | the serial number of the widget. |
is_mk2 | whether the widget is a mk 2 variant. |
|
inline |
Get the serial number of this widget.