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

 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

Detailed Description

Definition at line 64 of file ms35.h.


Constructor & Destructor Documentation

MS35::MS35 ( SerialIO serialIO)

Definition at line 61 of file ms35.cpp.

MS35::~MS35 ( ) [virtual]

Definition at line 89 of file ms35.cpp.


Member Function Documentation

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

Definition at line 93 of file ms35.cpp.

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

Definition at line 101 of file ms35.cpp.

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

Implements IColorO.

Definition at line 125 of file ms35.cpp.


Member Data Documentation

Definition at line 73 of file ms35.h.

std::stringstream MS35::_ssOut [private]

Definition at line 74 of file ms35.h.

char MS35::buffer[PACKAGE_SIZE] [private]

Definition at line 76 of file ms35.h.

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

Definition at line 75 of file ms35.h.


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


cob_light
Author(s): Benjamin Maidel
autogenerated on Thu Aug 27 2015 12:46:10