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