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

Detailed Description

A base widget class.

This holds a pointer to a LibUsbAdaptor so we don't have to duplicate that code in all the Widgets.

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

Public Member Functions

 BaseWidget (class LibUsbAdaptor *adaptor)
 Create a new BaseWidget.
- Public Member Functions inherited from ola::plugin::usbdmx::Widget
virtual bool Init ()=0
 Initialize the widget.
virtual bool SendDMX (const DmxBuffer &buffer)=0
 Send DMX data from this widget.

Protected Attributes

class LibUsbAdaptor *const m_adaptor

Constructor & Destructor Documentation

ola::plugin::usbdmx::BaseWidget::BaseWidget ( class LibUsbAdaptor adaptor)
inlineexplicit

Create a new BaseWidget.

Parameters
adaptorthe LibUsbAdaptor to use.

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