21 #ifndef PLUGINS_USBPRO_DMXTERDEVICE_H_ 22 #define PLUGINS_USBPRO_DMXTERDEVICE_H_ 26 #include "plugins/usbpro/DmxterWidget.h" 27 #include "plugins/usbpro/UsbSerialDevice.h" 39 const std::string &name,
44 std::string
DeviceId()
const {
return m_device_id; }
47 std::string m_device_id;
68 m_widget->SendRDMRequest(request, callback);
72 m_widget->RunFullDiscovery(on_complete);
76 m_widget->RunIncrementalDiscovery(on_complete);
87 #endif // PLUGINS_USBPRO_DMXTERDEVICE_H_ void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *on_complete)
This is a noop for ports that don't support RDM.
Definition: DmxterDevice.h:71
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *on_complete)
This is a noop for ports that don't support RDM.
Definition: DmxterDevice.h:75
std::string Description() const
Fetch the string description for a Port.
Definition: DmxterDevice.h:79
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *callback)
Handle an RDMRequest, subclasses can implement this to support RDM.
Definition: DmxterDevice.h:66
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.
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: DmxterDevice.h:60
Definition: DmxterDevice.h:36
#define OLA_UNUSED
Mark unused arguments & types.
Definition: Macro.h:62
std::string DeviceId() const
The device ID.
Definition: DmxterDevice.h:44
Definition: UsbSerialDevice.h:36
The base class for all 1 argument callbacks.
Definition: Callback.h:982
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: DmxterDevice.h:54