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

Detailed Description

The interface for a simple widget that supports a single universe of DMX.

Inheritance diagram for ola::plugin::usbdmx::WidgetInterface:
Inheritance graph
[legend]

Public Member Functions

virtual bool Init ()=0
 Initialize the widget. More...
 
virtual ola::usb::USBDeviceID GetDeviceId () const =0
 The device ID of this widget. More...
 
virtual bool SendDMX (const DmxBuffer &buffer)=0
 Send DMX data from this widget. More...
 

Member Function Documentation

◆ GetDeviceId()

virtual ola::usb::USBDeviceID ola::plugin::usbdmx::WidgetInterface::GetDeviceId ( ) const
pure virtual

The device ID of this widget.

Returns
The USBDeviceID.

Implemented in ola::plugin::usbdmx::SimpleWidget.

◆ Init()

virtual bool ola::plugin::usbdmx::WidgetInterface::Init ( )
pure virtual

◆ SendDMX()

virtual bool ola::plugin::usbdmx::WidgetInterface::SendDMX ( const DmxBuffer buffer)
pure virtual

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