Leddevice refactoring the next part (#253)

* add general switchOff

* refactoring of leddevices regarding ledcount and switchoff

* remove obsolete includes
This commit is contained in:
redPanther
2016-09-23 08:49:22 +02:00
committed by GitHub
parent 5aeec2e1e5
commit d6a34edfb2
71 changed files with 274 additions and 1073 deletions

View File

@@ -1,8 +1,5 @@
#pragma once
// STL includes
#include <string>
// hyperion include
#include "LedDeviceAdalight.h"
@@ -25,6 +22,7 @@ public:
/// create leddevice when type in config is set to this type
static LedDevice* construct(const Json::Value &deviceConfig);
protected:
///
/// Writes the led color values to the led-device
///
@@ -32,8 +30,5 @@ public:
/// @return Zero on succes else negative
///
virtual int write(const std::vector<ColorRgb> & ledValues);
/// Switch the leds off
virtual int switchOff();
};