hyperion.ng
LedDevicePaintpack.h
1 #pragma once
2 
3 // Hyperion includes
4 #include "ProviderHID.h"
5 
10 {
11 public:
17  LedDevicePaintpack(const QJsonObject &deviceConfig);
18 
20  static LedDevice* construct(const QJsonObject &deviceConfig);
21 
22 private:
30  virtual int write(const std::vector<ColorRgb>& ledValues);
31 };
Interface (pure virtual base class) for LedDevices.
Definition: LedDevice.h:32
static LedDevice * construct(const QJsonObject &deviceConfig)
constructs leddevice
Definition: LedDevicePaintpack.cpp:15
The ProviderHID implements an abstract base-class for LedDevices using an HID-device.
Definition: ProviderHID.h:14
LedDevice implementation for a paintpack device ()
Definition: LedDevicePaintpack.h:9
LedDevicePaintpack(const QJsonObject &deviceConfig)
Constructs specific LedDevice.
Definition: LedDevicePaintpack.cpp:4