13 #include <leddevice/LedDevice.h> 14 #include "LedDeviceLightpack.h" 57 virtual int write(
const std::vector<ColorRgb>& ledValues);
59 static QStringList getLightpackSerials();
60 static QString getString(libusb_device * device,
int stringDescriptorIndex);
63 std::vector<LedDeviceLightpack *> _lightpacks;
static LedDevice * construct(const QJsonObject &deviceConfig)
constructs leddevice
Definition: LedDeviceMultiLightpack.cpp:35
Interface (pure virtual base class) for LedDevices.
Definition: LedDevice.h:32
LedDevice implementation for multiple lightpack devices.
Definition: LedDeviceMultiLightpack.h:19
virtual int switchOff()
Switch the leds off.
Definition: LedDeviceMultiLightpack.cpp:102
virtual ~LedDeviceMultiLightpack()
Destructor of the LedDevice; closes the output device if it is open.
Definition: LedDeviceMultiLightpack.cpp:27
int open()
Opens and configures the output device7.
Definition: LedDeviceMultiLightpack.cpp:40
LedDeviceMultiLightpack(const QJsonObject &)
Constructs specific LedDevice.
Definition: LedDeviceMultiLightpack.cpp:20