Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::plugin::usbpro::DmxterWidgetImpl Class Reference
Inheritance diagram for ola::plugin::usbpro::DmxterWidgetImpl:
ola::plugin::usbpro::BaseUsbProWidget ola::rdm::DiscoverableRDMControllerInterface ola::plugin::usbpro::SerialWidgetInterface ola::rdm::RDMControllerInterface

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::ConnectedDescriptorGetDescriptor () 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
- Public Member Functions inherited from ola::rdm::DiscoverableRDMControllerInterface
- Public Member Functions inherited from ola::rdm::RDMControllerInterface

Additional Inherited Members

- Static Public Member Functions inherited from ola::plugin::usbpro::BaseUsbProWidget
static ola::io::ConnectedDescriptorOpenDevice (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
 

Constructor & Destructor Documentation

◆ ~DmxterWidgetImpl()

ola::plugin::usbpro::DmxterWidgetImpl::~DmxterWidgetImpl ( )

Clean up

Member Function Documentation

◆ RunFullDiscovery()

void ola::plugin::usbpro::DmxterWidgetImpl::RunFullDiscovery ( ola::rdm::RDMDiscoveryCallback * callback)
virtual

Trigger full RDM discovery for the widget.

Implements ola::rdm::DiscoverableRDMControllerInterface.

◆ RunIncrementalDiscovery()

void ola::plugin::usbpro::DmxterWidgetImpl::RunIncrementalDiscovery ( ola::rdm::RDMDiscoveryCallback * callback)
virtual

Trigger incremental RDM discovery for the widget.

Implements ola::rdm::DiscoverableRDMControllerInterface.

◆ SendRDMRequest()

void ola::plugin::usbpro::DmxterWidgetImpl::SendRDMRequest ( ola::rdm::RDMRequest * request_ptr,
ola::rdm::RDMCallback * on_complete )
virtual

Send an RDM request. By wrapping this in a QueueingRDMController, we ensure that this is only called one-at-a-time.

Parameters
request_ptrthe RDMRequest object
on_completethe callback to run when the request completes or fails

Implements ola::rdm::RDMControllerInterface.

◆ Stop()

void ola::plugin::usbpro::DmxterWidgetImpl::Stop ( )
virtual

Stop the widget

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


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