4 #include "ProviderRs232.h" 22 virtual bool init(
const QJsonObject &deviceConfig);
31 virtual int write(
const std::vector<ColorRgb> &ledValues);
Implementation of the LedDevice interface for writing to serial device using tpm2 protocol...
Definition: LedDeviceAtmo.h:9
Interface (pure virtual base class) for LedDevices.
Definition: LedDevice.h:32
LedDeviceAtmo(const QJsonObject &deviceConfig)
Constructs specific LedDevice.
Definition: LedDeviceAtmo.cpp:4
virtual bool init(const QJsonObject &deviceConfig)
Sets configuration.
Definition: LedDeviceAtmo.cpp:15
static LedDevice * construct(const QJsonObject &deviceConfig)
constructs leddevice
Definition: LedDeviceAtmo.cpp:10
The ProviderRs232 implements an abstract base-class for LedDevices using a RS232-device.
Definition: ProviderRs232.h:14