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);
86 const std::string m_description;
91 #endif // PLUGINS_USBPRO_DMXTRIDEVICE_H_
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: DmxTriDevice.cpp:93
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:233
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
std::string Description() const
Fetch the string description for a Port.
Definition: DmxTriDevice.h:69
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.
DmxTriOutputPort(DmxTriDevice *parent, DmxTriWidget *widget, const std::string &description)
Definition: DmxTriDevice.cpp:74
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
std::string DeviceId() const
The device ID.
Definition: DmxTriDevice.h:48
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: DmxTriDevice.h:37