4 #include "ProviderRs232.h" 22 virtual bool init(
const QJsonObject &deviceConfig);
31 virtual int write(
const std::vector<ColorRgb> &ledValues);
32 int _dmxDeviceType = 0;
34 int _dmxSlotsPerLed = 3;
36 unsigned int _dmxChannelCount = 0;
Interface (pure virtual base class) for LedDevices.
Definition: LedDevice.h:32
LedDeviceDMX(const QJsonObject &deviceConfig)
Constructs specific LedDevice.
Definition: LedDeviceDMX.cpp:5
The ProviderRs232 implements an abstract base-class for LedDevices using a RS232-device.
Definition: ProviderRs232.h:14
static LedDevice * construct(const QJsonObject &deviceConfig)
constructs leddevice
Definition: LedDeviceDMX.cpp:53
Implementation of the LedDevice interface for writing to DMX512 rs232 led device. ...
Definition: LedDeviceDMX.h:9
virtual bool init(const QJsonObject &deviceConfig)
Sets configuration.
Definition: LedDeviceDMX.cpp:16