21 #ifndef PLUGINS_USBPRO_DMXTRIDEVICE_H_ 22 #define PLUGINS_USBPRO_DMXTRIDEVICE_H_ 26 #include "plugins/usbpro/DmxTriWidget.h" 27 #include "plugins/usbpro/UsbSerialDevice.h" 40 const std::string &name,
45 uint16_t firmware_version);
48 std::string
DeviceId()
const {
return m_device_id; }
52 std::string m_device_id;
64 const std::string &description);
68 bool WriteDMX(
const DmxBuffer &buffer, uint8_t priority);
73 m_tri_widget->SendRDMRequest(request, callback);
77 m_tri_widget->RunFullDiscovery(callback);
81 m_tri_widget->RunIncrementalDiscovery(callback);
86 const std::string m_description;
91 #endif // PLUGINS_USBPRO_DMXTRIDEVICE_H_ 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
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: DmxTriDevice.h:80
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: DmxTriDevice.h:76
A class used to hold a single universe of DMX data.
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *callback)
Handle an RDMRequest, subclasses can implement this to support RDM.
Definition: DmxTriDevice.h:71
Definition: DmxTriDevice.h:60
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
std::string Description() const
Fetch the string description for a Port.
Definition: DmxTriDevice.h:69
std::string DeviceId() const
The device ID.
Definition: DmxTriDevice.h:48
Definition: DmxTriDevice.h:37