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

Detailed Description

The interface for the Fadecandy Widgets.

Fadecandy devices have 8 physical ports. Each port can drive 64 RGB pixels. Ideally this means we'd model each Fadecandy port as an OLA port, but that introduces syncronization issues, since the underlying protocol models all 8 ports as a flat pixel array. For now we just expose the first 170 pixels.

See https://github.com/scanlime/fadecandy/blob/master/README.md for more information on Fadecandy devices.

Inheritance diagram for ola::plugin::usbdmx::ScanlimeFadecandy:
ola::plugin::usbdmx::BaseWidget ola::plugin::usbdmx::Widget ola::plugin::usbdmx::AsynchronousScanlimeFadecandy ola::plugin::usbdmx::SynchronousScanlimeFadecandy

Public Member Functions

 ScanlimeFadecandy (LibUsbAdaptor *adaptor, const std::string &serial)
std::string SerialNumber () const
 Get the serial number of this widget.
- Public Member Functions inherited from ola::plugin::usbdmx::BaseWidget
 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.

Additional Inherited Members

- Protected Attributes inherited from ola::plugin::usbdmx::BaseWidget
class LibUsbAdaptor *const m_adaptor

Member Function Documentation

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