21 #ifndef PLUGINS_USBPRO_ENTTECUSBPROWIDGET_H_ 22 #define PLUGINS_USBPRO_ENTTECUSBPROWIDGET_H_ 29 #include "ola/thread/SchedulerInterface.h" 34 #include "plugins/usbpro/GenericUsbProWidget.h" 36 class 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) {
126 void GetPortAssignments(EnttecUsbProPortAssignmentCallback *callback);
129 unsigned int PortCount()
const;
133 static const uint16_t ENTTEC_ESTA_ID;
141 #endif // PLUGINS_USBPRO_ENTTECUSBPROWIDGET_H_ Definitions and Interfaces to implement an RDMController that sends a single message at a time...
EnttecPort(EnttecPortImpl *impl, unsigned int queue_size, bool enable_rdm)
Definition: EnttecUsbProWidget.cpp:656
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
Start an incremental discovery operation.
Definition: EnttecUsbProWidget.cpp:708
A BidirectionalFileDescriptor that also generates notifications when closed.
Definition: Descriptor.h:282
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
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
A class used to hold a single universe of DMX data.
Definition: EnttecUsbProWidgetImpl.h:81
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
Start a full discovery operation.
Definition: EnttecUsbProWidget.cpp:699
An RDM Controller that queues messages and only sends a single message at a time. ...
The base class for all 1 argument callbacks.
Definition: Callback.h:982
Definition: EnttecUsbProWidget.h:49
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *on_complete)
Send a RDM command.
Definition: EnttecUsbProWidget.cpp:689
A 3 argument callback which deletes itself after it's run.
Definition: Callback.h:2850
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Implements the RDM Discovery algorithm.
Allows Callbacks to be scheduled to run after a specified interval.
Definition: SchedulerInterface.h:46
A 2 argument callback which deletes itself after it's run.
Definition: Callback.h:1907