#include <ms35.h>
Public Member Functions | |
MS35 (SerialIO *serialIO) | |
void | setColor (color::rgba color) |
virtual | ~MS35 () |
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 |
MS35::MS35 | ( | SerialIO * | serialIO | ) |
MS35::~MS35 | ( | ) | [virtual] |
unsigned short int MS35::getChecksum | ( | const char * | data, |
size_t | len | ||
) | [private] |
int MS35::sendData | ( | const char * | data, |
size_t | len | ||
) | [private] |
void MS35::setColor | ( | color::rgba | color | ) | [virtual] |
SerialIO* MS35::_serialIO [private] |
std::stringstream MS35::_ssOut [private] |
char MS35::buffer[PACKAGE_SIZE] [private] |
const int MS35::PACKAGE_SIZE = 9 [static, private] |