#include <ms35.h>
Public Member Functions | |
bool | init () |
MS35 (SerialIO *serialIO) | |
void | setColor (color::rgba color) |
void | setColorMulti (std::vector< color::rgba > &colors) |
virtual | ~MS35 () |
Public Member Functions inherited from IColorO | |
int | getNumLeds () |
IColorO () | |
void | setMask (int mask) |
void | setNumLeds (size_t num_leds) |
boost::signals2::signal< void(color::rgba color)> * | signalColorSet () |
boost::signals2::signal< void(std::vector< color::rgba > colors) > * | signalColorsSet () |
virtual | ~IColorO () |
Private Member Functions | |
unsigned short int | getChecksum (const char *data, size_t len) |
int | sendData (const char *data, size_t len) |
Private Attributes | |
SerialIO * | _serialIO |
std::stringstream | _ssOut |
char | buffer [PACKAGE_SIZE] |
Static Private Attributes | |
static const int | PACKAGE_SIZE = 9 |
Additional Inherited Members | |
Protected Attributes inherited from IColorO | |
bool | _initialized |
int | _invertMask |
int | _num_leds |
boost::signals2::signal< void(color::rgba color)> | m_sigColorSet |
boost::signals2::signal< void(std::vector< color::rgba > colors) > | m_sigColorsSet |
|
private |
|
private |
|
virtual |
|
virtual |
|
private |