Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
MS35 Class Reference

#include <ms35.h>

Inheritance diagram for MS35:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool init ()
 MS35 (SerialIO *serialIO)
void setColor (color::rgba color)
void setColorMulti (std::vector< color::rgba > &colors)
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

Detailed Description

Definition at line 27 of file ms35.h.


Constructor & Destructor Documentation

MS35::MS35 ( SerialIO serialIO)

Definition at line 24 of file ms35.cpp.

MS35::~MS35 ( ) [virtual]

Definition at line 29 of file ms35.cpp.


Member Function Documentation

unsigned short int MS35::getChecksum ( const char *  data,
size_t  len 
) [private]

Definition at line 63 of file ms35.cpp.

bool MS35::init ( ) [virtual]

Implements IColorO.

Definition at line 33 of file ms35.cpp.

int MS35::sendData ( const char *  data,
size_t  len 
) [private]

Definition at line 71 of file ms35.cpp.

void MS35::setColor ( color::rgba  color) [virtual]

Implements IColorO.

Definition at line 90 of file ms35.cpp.

void MS35::setColorMulti ( std::vector< color::rgba > &  colors) [virtual]

Implements IColorO.

Definition at line 85 of file ms35.cpp.


Member Data Documentation

Definition at line 38 of file ms35.h.

std::stringstream MS35::_ssOut [private]

Definition at line 39 of file ms35.h.

char MS35::buffer[PACKAGE_SIZE] [private]

Definition at line 41 of file ms35.h.

const int MS35::PACKAGE_SIZE = 9 [static, private]

Definition at line 40 of file ms35.h.


The documentation for this class was generated from the following files:


cob_light
Author(s): Benjamin Maidel
autogenerated on Sat Jun 8 2019 21:02:07