Open Lighting Architecture  0.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
ola::plugin::usbdmx Namespace Reference

Detailed Description

The plugin for hardware using libusb.

Classes

class  AnymaDevice
class  AnymaOutputPort
class  EuroliteProDevice
class  EuroliteProOutputPort
class  FirmwareLoader
class  SunliteDevice
class  SunliteFirmwareLoader
class  SunliteOutputPort
class  UsbDevice
class  UsbDmxPlugin
class  VellemanDevice
class  VellemanOutputPort

Functions

bool GetDescriptorString (libusb_device_handle *usb_handle, uint8_t desc_index, string *data)
void libusb_fd_added (int fd, short events, void *data)
void libusb_fd_removed (int fd, void *data)

Function Documentation

bool ola::plugin::usbdmx::GetDescriptorString ( libusb_device_handle *  usb_handle,
uint8_t  desc_index,
string *  data 
)

Return a string descriptor.

Parameters
usb_handlethe usb handle to the device
desc_indexthe index of the descriptor
datawhere to store the output string
Returns
true if we got the value, false otherwise