Open Lighting Architecture: ola::plugin::usbpro::DispatchingUsbProWidget Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
ola::plugin::usbpro::DispatchingUsbProWidget Class Reference

## Detailed Description

A Usb Pro Widget that can execute a callback when it receives messages. This is used for discovery.

Inheritance diagram for ola::plugin::usbpro::DispatchingUsbProWidget:

## 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

## Member Function Documentation

## ◆ Stop()

void ola::plugin::usbpro::DispatchingUsbProWidget::Stop | ( |  | ) |
| inlinevirtual

Implements ola::plugin::usbpro::SerialWidgetInterface.

The documentation for this class was generated from the following file:

- plugins/usbpro/BaseUsbProWidget.h