21 #ifndef PLUGINS_USBPRO_ARDUINORGBDEVICE_H_
22 #define PLUGINS_USBPRO_ARDUINORGBDEVICE_H_
26 #include "olad/TokenBucket.h"
27 #include "plugins/usbpro/ArduinoWidget.h"
28 #include "plugins/usbpro/UsbSerialDevice.h"
42 const std::string &name,
48 std::string
DeviceId()
const {
return m_device_id; }
51 std::string m_device_id;
64 unsigned int initial_count,
67 std::string Description()
const {
return m_description; }
70 if (m_bucket.GetToken(*m_wake_time))
71 return m_widget->SendDMX(buffer);
73 OLA_INFO <<
"Port rated limited, dropping frame";
87 m_widget->RunIncrementalDiscovery(callback);
94 std::string m_description;
99 #endif // PLUGINS_USBPRO_ARDUINORGBDEVICE_H_