mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
28 lines
406 B
C
28 lines
406 B
C
|
#pragma once
|
||
|
|
||
|
// STL incldues
|
||
|
#include <vector>
|
||
|
|
||
|
// Utility includes
|
||
|
#include <utils/RgbColor.h>
|
||
|
|
||
|
class LedDevice
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
/**
|
||
|
* Empty virtual destructor for pure virtual base class
|
||
|
*/
|
||
|
virtual ~LedDevice()
|
||
|
{
|
||
|
// empty
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Writes the RGB-Color values to the leds.
|
||
|
*
|
||
|
* @param[in] ledValues The RGB-color per led
|
||
|
*/
|
||
|
virtual int write(const std::vector<RgbColor>& ledValues) = 0;
|
||
|
};
|