21#ifndef PLUGINS_USBPRO_ENTTECUSBPROWIDGET_H_
22#define PLUGINS_USBPRO_ENTTECUSBPROWIDGET_H_
29#include "ola/thread/SchedulerInterface.h"
34#include "plugins/usbpro/GenericUsbProWidget.h"
36class EnttecUsbProWidgetTest;
58 bool ChangeToReceiveMode(
bool change_only);
60 bool SetParameters(uint8_t break_time, uint8_t mab_time, uint8_t rate);
61 bool SupportsRDM()
const {
return m_enable_rdm; }
71 friend class ::EnttecUsbProWidgetTest;
75 const bool m_enable_rdm;
76 std::auto_ptr<ola::rdm::DiscoverableQueueingRDMController> m_controller;
98 unsigned int queue_size;
100 bool no_rdm_dub_timeout;
108 no_rdm_dub_timeout(
false) {
117 no_rdm_dub_timeout(
false) {
129 unsigned int PortCount()
const;
133 static const uint16_t ENTTEC_ESTA_ID;
A class used to hold a single universe of DMX data.
An RDM Controller that queues messages and only sends a single message at a time.
Definitions and Interfaces to implement an RDMController that sends a single message at a time.
The base class for all 1 argument callbacks.
Definition Callback.h:982
A 0 argument callback which can be called multiple times.
Definition Callback.h:129
Used to hold a single universe of DMX data.
Definition DmxBuffer.h:49
A 2 argument callback which deletes itself after it's run.
Definition Callback.h:1907
A 3 argument callback which deletes itself after it's run.
Definition Callback.h:2850
A BidirectionalFileDescriptor that also generates notifications when closed.
Definition Descriptor.h:283
Definition EnttecUsbProWidget.h:50
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
Start an incremental discovery operation.
Definition EnttecUsbProWidget.cpp:704
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
Start a full discovery operation.
Definition EnttecUsbProWidget.cpp:695
EnttecPort(EnttecPortImpl *impl, unsigned int queue_size, bool enable_rdm)
Definition EnttecUsbProWidget.cpp:652
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *on_complete)
Send a RDM command.
Definition EnttecUsbProWidget.cpp:685
Definition EnttecUsbProWidgetImpl.h:83
The interface that can send RDM commands, as well as perform discovery operations.
Definition RDMControllerInterface.h:104
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition RDMCommand.h:234
Allows Callbacks to be scheduled to run after a specified interval.
Definition SchedulerInterface.h:46
Implements the RDM Discovery algorithm.
The namespace containing all OLA symbols.
Definition Credentials.cpp:44