Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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:
Inheritance graph
Collaboration diagram for ola::plugin::usbpro::DispatchingUsbProWidget:
Collaboration graph

Public Types

typedef ola::Callback3< void,
uint8_t, const uint8_t
*, unsigned int > 

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::ConnectedDescriptorGetDescriptor () 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
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

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