Open Lighting Architecture
Latest Git
|
Public Member Functions | |
DmxterWidgetImpl (ola::io::ConnectedDescriptor *descriptor, uint16_t esta_id, uint32_t serial) | |
~DmxterWidgetImpl () | |
void | Stop () |
void | SendRDMRequest (ola::rdm::RDMRequest *request_ptr, ola::rdm::RDMCallback *on_complete) |
void | RunFullDiscovery (ola::rdm::RDMDiscoveryCallback *callback) |
void | RunIncrementalDiscovery (ola::rdm::RDMDiscoveryCallback *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 |
ola::plugin::usbpro::DmxterWidgetImpl::~DmxterWidgetImpl | ( | ) |
Clean up
|
virtual |
Trigger full RDM discovery for the widget.
Implements ola::rdm::DiscoverableRDMControllerInterface.
|
virtual |
Trigger incremental RDM discovery for the widget.
Implements ola::rdm::DiscoverableRDMControllerInterface.
|
virtual |
Send an RDM request. By wrapping this in a QueueingRDMController, we ensure that this is only called one-at-a-time.
request_ptr | the RDMRequest object |
on_complete | the callback to run when the request completes or fails |
Implements ola::rdm::RDMControllerInterface.
|
virtual |
Stop the widget
Implements ola::plugin::usbpro::SerialWidgetInterface.