Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
ola::plugin::usbdmx::AVLdiyD512 Class Reference

Detailed Description

The base class for AVLdiy Widgets.

Inheritance diagram for ola::plugin::usbdmx::AVLdiyD512:
Inheritance graph
[legend]
Collaboration diagram for ola::plugin::usbdmx::AVLdiyD512:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ AVLdiyD512()

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

Create a new AVLdiyD512.

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

Member Function Documentation

◆ SerialNumber()

std::string ola::plugin::usbdmx::AVLdiyD512::SerialNumber ( ) const
inline

Get the serial number of this widget.

Returns
The serial number of the widget.

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