21 #ifndef LIBS_USB_JARULEWIDGET_H_ 22 #define LIBS_USB_JARULEWIDGET_H_ 27 #include <ola/io/ByteString.h> 29 #include <ola/thread/ExecutorInterface.h> 34 #include "libs/usb/LibUsbAdaptor.h" 35 #include "libs/usb/JaRuleConstants.h" 36 #include "libs/usb/Types.h" 67 libusb_device *usb_device);
154 const uint8_t *data,
unsigned int size,
158 typedef std::vector<class JaRuleWidgetPort*> PortHandles;
162 libusb_device *m_device;
163 libusb_device_handle *m_usb_handle;
165 std::string m_manufacturer;
166 std::string m_product;
171 static const uint8_t SUBCLASS_VALUE = 0xff;
172 static const uint8_t PROTOCOL_VALUE = 0xff;
178 #endif // LIBS_USB_JARULEWIDGET_H_
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
Represents a DMX/RDM port on a Ja Rule device.
Definition: JaRulePortHandle.h:41
CommandClass
The Ja Rule command set.
Definition: JaRuleConstants.h:101
A RDM unique identifier (UID).
Defer execution of a callback.
Definition: ExecutorInterface.h:35
The base class for all 4 argument callbacks.
Definition: Callback.h:3811
Represents a RDM UID.
Definition: UID.h:57
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
A LibUsbAdaptor for use with Asynchronous widgets.
Definition: LibUsbAdaptor.h:563
Wraps calls to libusb so we can test the code.
Definition: LibUsbAdaptor.h:36