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

#include <stageprofi.h>

Inheritance diagram for StageProfi:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool init ()
void setColor (color::rgba color)
void setColorMulti (std::vector< color::rgba > &colors)
 StageProfi (SerialIO *serialIO, unsigned int leds, int led_offset)
virtual ~StageProfi ()

Private Member Functions

bool recover ()
bool sendDMX (uint16_t start, const char *buf, unsigned int length)

Private Attributes

int _led_offset
SerialIO_serialIO
std::stringstream _ssOut

Static Private Attributes

static const unsigned int HEADER_SIZE = 4
static const unsigned int MAX_CHANNELS = 255

Detailed Description

Definition at line 27 of file stageprofi.h.


Constructor & Destructor Documentation

StageProfi::StageProfi ( SerialIO serialIO,
unsigned int  leds,
int  led_offset 
)

Definition at line 24 of file stageprofi.cpp.

StageProfi::~StageProfi ( ) [virtual]

Definition at line 31 of file stageprofi.cpp.


Member Function Documentation

bool StageProfi::init ( ) [virtual]

Implements IColorO.

Definition at line 35 of file stageprofi.cpp.

bool StageProfi::recover ( ) [private]

Definition at line 166 of file stageprofi.cpp.

bool StageProfi::sendDMX ( uint16_t  start,
const char *  buf,
unsigned int  length 
) [private]

Definition at line 142 of file stageprofi.cpp.

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

Implements IColorO.

Definition at line 55 of file stageprofi.cpp.

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

Implements IColorO.

Definition at line 94 of file stageprofi.cpp.


Member Data Documentation

int StageProfi::_led_offset [private]

Definition at line 41 of file stageprofi.h.

Definition at line 39 of file stageprofi.h.

std::stringstream StageProfi::_ssOut [private]

Definition at line 40 of file stageprofi.h.

const unsigned int StageProfi::HEADER_SIZE = 4 [static, private]

Definition at line 42 of file stageprofi.h.

const unsigned int StageProfi::MAX_CHANNELS = 255 [static, private]

Definition at line 43 of file stageprofi.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