Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ola::plugin::usbpro::DmxterWidgetImpl Class Reference
Inheritance diagram for ola::plugin::usbpro::DmxterWidgetImpl:
Inheritance graph
Collaboration diagram for ola::plugin::usbpro::DmxterWidgetImpl:
Collaboration graph

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

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

Constructor & Destructor Documentation

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

Clean up

Member Function Documentation

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

Trigger full RDM discovery for the widget.

Implements ola::rdm::DiscoverableRDMControllerInterface.

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

Trigger incremental RDM discovery for the widget.

Implements ola::rdm::DiscoverableRDMControllerInterface.

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

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

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

Implements ola::rdm::RDMControllerInterface.

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

Stop the widget

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

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