21 #ifndef PLUGINS_USBDMX_SUNLITE_H_
22 #define PLUGINS_USBDMX_SUNLITE_H_
28 #include "ola/thread/Mutex.h"
29 #include "plugins/usbdmx/Widget.h"
35 class SunliteThreadedSender;
43 libusb_device *usb_device)
62 libusb_device *usb_device);
69 std::auto_ptr<class SunliteThreadedSender> m_sender;
85 libusb_device *usb_device);
92 std::auto_ptr<class SunliteAsyncUsbSender> m_sender;
99 #endif // PLUGINS_USBDMX_SUNLITE_H_
bool SendDMX(const DmxBuffer &buffer)
Send DMX data from this widget.
Definition: Sunlite.cpp:212
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
AsynchronousSunlite(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device)
Create a new AsynchronousSunlite.
Definition: Sunlite.cpp:201
An Sunlite widget that uses asynchronous libusb operations.
Definition: Sunlite.h:77
A class used to hold a single universe of DMX data.
bool SendDMX(const DmxBuffer &buffer)
Send DMX data from this widget.
Definition: Sunlite.cpp:161
The interface for the Sunlite Widgets.
Definition: Sunlite.h:40
SynchronousSunlite(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device)
Create a new SynchronousSunlite.
Definition: Sunlite.cpp:138
An Sunlite widget that uses synchronous libusb operations.
Definition: Sunlite.h:54
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
bool Init()
Initialize the widget.
Definition: Sunlite.cpp:208
bool Init()
Initialize the widget.
Definition: Sunlite.cpp:143
Wraps calls to libusb so we can test the code.
Definition: LibUsbAdaptor.h:36