Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
ola::plugin::usbdmx::ShowJockeyDMXU1 Class Reference

Detailed Description

The ShowJockey-DMX-U1 Widget.

Stream data to the ShowJockey-DMX-U1 in the following packet format: The first two bytes describe on a uint16_t the index of the first channel starting with its LSB. Each following byte corresponds to the value of a channel.

Inheritance diagram for ola::plugin::usbdmx::ShowJockeyDMXU1:
Inheritance graph
Collaboration diagram for ola::plugin::usbdmx::ShowJockeyDMXU1:
Collaboration graph

Public Member Functions

 ShowJockeyDMXU1 (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
 Create a new ShowJockeyDMXU1. 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

std::string m_serial
- Protected Attributes inherited from ola::plugin::usbdmx::SimpleWidget
ola::usb::LibUsbAdaptor *const m_adaptor
libusb_device *const m_usb_device

Constructor & Destructor Documentation

ola::plugin::usbdmx::ShowJockeyDMXU1::ShowJockeyDMXU1 ( ola::usb::LibUsbAdaptor adaptor,
libusb_device *  usb_device,
const std::string &  serial 

Create a new ShowJockeyDMXU1.

adaptorthe LibUsbAdaptor to use.
usb_devicethe libusb_device to use for the widget.
serialthe serial number of the widget.

Member Function Documentation

std::string ola::plugin::usbdmx::ShowJockeyDMXU1::SerialNumber ( ) const

Get the serial number of this widget.

The serial number of the widget.

The documentation for this class was generated from the following file: