Open Lighting Architecture
0.10.4
|
A Usb Pro Widget that can execute a callback when it receives messages. This is used for discovery.
Public Types | |
typedef ola::Callback3< void, uint8_t, const uint8_t *, unsigned int > | MessageCallback |
Public Member Functions | |
DispatchingUsbProWidget (ola::io::ConnectedDescriptor *descriptor, MessageCallback *callback) | |
void | Stop () |
void | SetHandler (MessageCallback *callback) |
Public Member Functions inherited from ola::plugin::usbpro::BaseUsbProWidget | |
BaseUsbProWidget (ola::io::ConnectedDescriptor *descriptor) | |
ola::io::ConnectedDescriptor * | GetDescriptor () const |
void | DescriptorReady () |
virtual bool | SendDMX (const DmxBuffer &buffer) |
bool | SendMessage (uint8_t label, const uint8_t *data, unsigned int length) const |
Additional Inherited Members | |
Static Public Member Functions inherited from ola::plugin::usbpro::BaseUsbProWidget | |
static ola::io::ConnectedDescriptor * | OpenDevice (const std::string &path) |
Static Public Attributes inherited from ola::plugin::usbpro::BaseUsbProWidget | |
static const uint8_t | DEVICE_LABEL = 78 |
static const uint8_t | DMX_LABEL = 6 |
static const uint8_t | GET_PARAMS = 3 |
static const uint8_t | HARDWARE_VERSION_LABEL = 14 |
static const uint8_t | MANUFACTURER_LABEL = 77 |
static const uint8_t | SERIAL_LABEL = 10 |