21 #ifndef PLUGINS_USBDMX_SCANLIMEFADECANDY_H_
22 #define PLUGINS_USBDMX_SCANLIMEFADECANDY_H_
28 #include "libs/usb/LibUsbAdaptor.h"
31 #include "ola/thread/Mutex.h"
32 #include "plugins/usbdmx/Widget.h"
52 libusb_device *usb_device,
53 const std::string &serial)
84 libusb_device *usb_device,
85 const std::string &serial);
92 std::auto_ptr<class FadecandyThreadedSender> m_sender;
109 libusb_device *usb_device,
110 const std::string &serial);
117 std::auto_ptr<class FadecandyAsyncUsbSender> m_sender;
124 #endif // PLUGINS_USBDMX_SCANLIMEFADECANDY_H_
bool Init()
Initialize the widget.
Definition: ScanlimeFadecandy.cpp:337
An Fadecandy widget that uses asynchronous libusb operations.
Definition: ScanlimeFadecandy.h:100
bool SendDMX(const DmxBuffer &buffer)
Send DMX data from this widget.
Definition: ScanlimeFadecandy.cpp:278
An Fadecandy widget that uses synchronous libusb operations.
Definition: ScanlimeFadecandy.h:75
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
bool SendDMX(const DmxBuffer &buffer)
Send DMX data from this widget.
Definition: ScanlimeFadecandy.cpp:341
A class used to hold a single universe of DMX data.
The interface for the Fadecandy Widgets.
Definition: ScanlimeFadecandy.h:49
AsynchronousScanlimeFadecandy(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
Create a new AsynchronousScanlimeFadecandy.
Definition: ScanlimeFadecandy.cpp:329
SynchronousScanlimeFadecandy(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
Create a new SynchronousScanlimeFadecandy.
Definition: ScanlimeFadecandy.cpp:248
bool Init()
Initialize the widget.
Definition: ScanlimeFadecandy.cpp:255
std::string SerialNumber() const
Get the serial number of this widget.
Definition: ScanlimeFadecandy.h:62
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Wraps calls to libusb so we can test the code.
Definition: LibUsbAdaptor.h:36