21 #ifndef PLUGINS_USBDMX_ANYMAUDMX_H_
22 #define PLUGINS_USBDMX_ANYMAUDMX_H_
28 #include "libs/usb/LibUsbAdaptor.h"
31 #include "ola/thread/Mutex.h"
32 #include "plugins/usbdmx/Widget.h"
50 libusb_device *usb_device,
51 const std::string &serial)
83 libusb_device *usb_device,
84 const std::string &serial);
91 std::auto_ptr<class AnymaThreadedSender> m_sender;
108 libusb_device *usb_device,
109 const std::string &serial);
116 std::auto_ptr<class AnymaAsyncUsbSender> m_sender;
123 #endif // PLUGINS_USBDMX_ANYMAUDMX_H_
An Anyma widget that uses synchronous libusb operations.
Definition: AnymauDMX.h:74
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: AnymauDMX.cpp:112
AnymauDMX(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
Create a new AnymauDMX.
Definition: AnymauDMX.h:49
A class used to hold a single universe of DMX data.
std::string SerialNumber() const
Get the serial number of this widget.
Definition: AnymauDMX.h:61
bool Init()
Initialize the widget.
Definition: AnymauDMX.cpp:172
bool Init()
Initialize the widget.
Definition: AnymauDMX.cpp:94
AsynchronousAnymauDMX(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
Create a new AsynchronousAnymauDMX.
Definition: AnymauDMX.cpp:164
An Anyma widget that uses asynchronous libusb operations.
Definition: AnymauDMX.h:99
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
SynchronousAnymauDMX(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
Create a new SynchronousAnymauDMX.
Definition: AnymauDMX.cpp:88
The base class for Anyma Widgets.
Definition: AnymauDMX.h:41
Wraps calls to libusb so we can test the code.
Definition: LibUsbAdaptor.h:36
bool SendDMX(const DmxBuffer &buffer)
Send DMX data from this widget.
Definition: AnymauDMX.cpp:176