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

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ola::plugin::usbpro::BaseUsbProWidget Class Referenceabstract
Inheritance diagram for ola::plugin::usbpro::BaseUsbProWidget:

## Public Member Functions
| 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
Public Member Functions inherited from ola::plugin::usbpro::SerialWidgetInterface
virtual void | Stop ()=0

## Static Public Member Functions
static ola::io::ConnectedDescriptor * | OpenDevice (const std::string &path)

## Static Public Attributes
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

## ◆ GetDescriptor()

ola::io::ConnectedDescriptor * ola::plugin::usbpro::BaseUsbProWidget::GetDescriptor | ( |  | ) | const
| inlinevirtual

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

## ◆ OpenDevice()

ola::io::ConnectedDescriptor * ola::plugin::usbpro::BaseUsbProWidget::OpenDevice | ( | const std::string & | path | ) |
| static

Open a path and apply the settings required for talking to widgets.

## ◆ SendDMX()

bool ola::plugin::usbpro::BaseUsbProWidget::SendDMX | ( | const DmxBuffer & | buffer | ) |
| virtual

Reimplemented in ola::plugin::usbpro::DmxTriWidgetImpl.

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

- plugins/usbpro/BaseUsbProWidget.h
- plugins/usbpro/BaseUsbProWidget.cpp