Open Lighting Architecture: ola::plugin::usbdmx::AnymauDMX Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ola::plugin::usbdmx::AnymauDMX Class Reference

## Detailed Description

The base class for Anyma Widgets.

Inheritance diagram for ola::plugin::usbdmx::AnymauDMX:

## Public Member Functions
| AnymauDMX (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
| Create a new AnymauDMX.
std::string | SerialNumber () const
| Get the serial number of this widget.
Public Member Functions inherited from ola::plugin::usbdmx::SimpleWidget
| SimpleWidget (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device)
| Create a new SimpleWidget.
ola::usb::USBDeviceID | GetDeviceId () const
| The device ID of this widget.
Public Member Functions inherited from ola::plugin::usbdmx::WidgetInterface
virtual bool | Init ()=0
| Initialize the widget.
virtual bool | SendDMX (const DmxBuffer &buffer)=0
| Send DMX data from this widget.

## 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

## ◆ AnymauDMX()

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

Create a new AnymauDMX.

Parameters

  adaptor | the LibUsbAdaptor to use.
  usb_device | the libusb_device to use for the widget.
  serial | the serial number of the widget.

## Member Function Documentation

## ◆ SerialNumber()

std::string ola::plugin::usbdmx::AnymauDMX::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:

- plugins/usbdmx/AnymauDMX.h