#include <stageprofi.h>

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 |
Definition at line 27 of file stageprofi.h.
| 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.
| 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.
int StageProfi::_led_offset [private] |
Definition at line 41 of file stageprofi.h.
SerialIO* StageProfi::_serialIO [private] |
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.