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

Detailed Description

The interface for the Nodle Widgets.

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

Public Member Functions

 DMXCProjectsNodleU1 (ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, PluginAdaptor *plugin_adaptor, const std::string &serial, unsigned int mode)
std::string SerialNumber () const
 Get the serial number of this widget. More...
unsigned int Mode () const
 Get the current mode of this widget. More...
virtual void SetDmxCallback (Callback0< void > *callback)=0
virtual const DmxBufferGetDmxInBuffer ()=0
- 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...

Static Public Attributes

static int NODLE_DEFAULT_MODE = 6
static int NODLE_MIN_MODE = 0
static int NODLE_MAX_MODE = 7
static int OUTPUT_ENABLE_MASK = 2
static int INPUT_ENABLE_MASK = 4

Protected Attributes

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

Member Function Documentation

unsigned int ola::plugin::usbdmx::DMXCProjectsNodleU1::Mode ( ) const

Get the current mode of this widget.

The mode of the widget.
std::string ola::plugin::usbdmx::DMXCProjectsNodleU1::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 files: