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;
109 libusb_device *usb_device,
110 const std::string &serial);
117 std::auto_ptr<class AnymaAsyncUsbSender> m_sender;
A class used to hold a single universe of DMX data.
Used to hold a single universe of DMX data.
Definition DmxBuffer.h:49
The base class for Anyma Widgets.
Definition AnymauDMX.h:41
AnymauDMX(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
Create a new AnymauDMX.
Definition AnymauDMX.h:49
std::string SerialNumber() const
Get the serial number of this widget.
Definition AnymauDMX.h:61
An Anyma widget that uses asynchronous libusb operations.
Definition AnymauDMX.h:100
bool Init()
Initialize the widget.
Definition AnymauDMX.cpp:173
bool SendDMX(const DmxBuffer &buffer)
Send DMX data from this widget.
Definition AnymauDMX.cpp:177
AsynchronousAnymauDMX(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
Create a new AsynchronousAnymauDMX.
Definition AnymauDMX.cpp:165
An Anyma widget that uses synchronous libusb operations.
Definition AnymauDMX.h:74
bool Init()
Initialize the widget.
Definition AnymauDMX.cpp:94
SynchronousAnymauDMX(ola::usb::LibUsbAdaptor *adaptor, libusb_device *usb_device, const std::string &serial)
Create a new SynchronousAnymauDMX.
Definition AnymauDMX.cpp:88
bool SendDMX(const DmxBuffer &buffer)
Send DMX data from this widget.
Definition AnymauDMX.cpp:112
Wraps calls to libusb so we can test the code.
Definition LibUsbAdaptor.h:36
The namespace containing all OLA symbols.
Definition Credentials.cpp:44