#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 () |
Public Member Functions inherited from IColorO | |
int | getNumLeds () |
IColorO () | |
void | setMask (int mask) |
void | setNumLeds (size_t num_leds) |
boost::signals2::signal< void(color::rgba color)> * | signalColorSet () |
boost::signals2::signal< void(std::vector< color::rgba > colors) > * | signalColorsSet () |
virtual | ~IColorO () |
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 |
Additional Inherited Members | |
Protected Attributes inherited from IColorO | |
bool | _initialized |
int | _invertMask |
int | _num_leds |
boost::signals2::signal< void(color::rgba color)> | m_sigColorSet |
boost::signals2::signal< void(std::vector< color::rgba > colors) > | m_sigColorsSet |
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.
|
virtual |
Definition at line 31 of file stageprofi.cpp.
|
virtual |
Implements IColorO.
Definition at line 35 of file stageprofi.cpp.
|
private |
Definition at line 166 of file stageprofi.cpp.
|
private |
Definition at line 142 of file stageprofi.cpp.
|
virtual |
Implements IColorO.
Definition at line 55 of file stageprofi.cpp.
|
virtual |
Implements IColorO.
Definition at line 94 of file stageprofi.cpp.
|
private |
Definition at line 41 of file stageprofi.h.
|
private |
Definition at line 39 of file stageprofi.h.
|
private |
Definition at line 40 of file stageprofi.h.
|
staticprivate |
Definition at line 42 of file stageprofi.h.
|
staticprivate |
Definition at line 43 of file stageprofi.h.