21 #ifndef PLUGINS_USBPRO_ROBEDEVICE_H_
22 #define PLUGINS_USBPRO_ROBEDEVICE_H_
26 #include "plugins/usbpro/RobeWidget.h"
27 #include "plugins/usbpro/UsbSerialDevice.h"
41 const std::string &name,
44 std::string
DeviceId()
const {
return m_device_id; }
47 std::string m_device_id;
64 static_cast<BasicInputPort*>(
this),
69 return m_widget->FetchDMX();
74 m_widget->ChangeToReceiveMode();
115 #endif // PLUGINS_USBPRO_ROBEDEVICE_H_
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Definition: RobeDevice.cpp:67
Definition: Universe.h:45
Definition: RobeDevice.h:37
std::string DeviceId() const
The device ID.
Definition: RobeDevice.h:44
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: RobeDevice.h:93
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: RobeDevice.h:105
A class used to hold a single universe of DMX data.
Definition: PluginAdaptor.h:41
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *callback)
Handle an RDMRequest, subclasses can implement this to support RDM.
Definition: RobeDevice.h:96
Definition: UsbSerialDevice.h:36
The base class for all 1 argument callbacks.
Definition: Callback.h:982
RobeOutputPort(RobeDevice *parent, RobeWidget *widget)
Definition: RobeDevice.cpp:57
Callback0< ReturnType > * NewCallback(ReturnType(*callback)())
A helper function to create a new Callback with 0 create-time arguments and 0 execution time argument...
Definition: Callback.h:211
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: RobeDevice.h:101
Definition: RobeDevice.h:89