#include <sweepColorMode.h>
Public Member Functions | |
void | execute () |
std::string | getName () |
SweepColorMode (std::vector< color::rgba > colors, size_t num_leds, int priority=0, double freq=5, int pulses=0, double timeout=0) | |
Private Attributes | |
double | _inc |
size_t | _num_leds |
int | _pos |
color::rgba | _startcolor |
double | _timer_inc |
bool | _toggle |
Definition at line 24 of file sweepColorMode.h.
SweepColorMode::SweepColorMode | ( | std::vector< color::rgba > | colors, |
size_t | num_leds, | ||
int | priority = 0 , |
||
double | freq = 5 , |
||
int | pulses = 0 , |
||
double | timeout = 0 |
||
) | [inline] |
Definition at line 27 of file sweepColorMode.h.
void SweepColorMode::execute | ( | ) | [inline, virtual] |
Implements Mode.
Definition at line 51 of file sweepColorMode.h.
std::string SweepColorMode::getName | ( | ) | [inline, virtual] |
Implements Mode.
Definition at line 78 of file sweepColorMode.h.
double SweepColorMode::_inc [private] |
Definition at line 83 of file sweepColorMode.h.
size_t SweepColorMode::_num_leds [private] |
Definition at line 84 of file sweepColorMode.h.
int SweepColorMode::_pos [private] |
Definition at line 85 of file sweepColorMode.h.
color::rgba SweepColorMode::_startcolor [private] |
Definition at line 86 of file sweepColorMode.h.
double SweepColorMode::_timer_inc [private] |
Definition at line 82 of file sweepColorMode.h.
bool SweepColorMode::_toggle [private] |
Definition at line 81 of file sweepColorMode.h.