#include <circleColorMode.h>
Public Member Functions | |
CircleColorMode (std::vector< color::rgba > colors, size_t num_leds, int priority=0, double freq=5, int pulses=0, double timeout=0) | |
void | execute () |
std::string | getName () |
Private Attributes | |
double | _inc |
size_t | _num_leds |
double | _timer_inc |
bool | _toggle |
Definition at line 24 of file circleColorMode.h.
CircleColorMode::CircleColorMode | ( | 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 circleColorMode.h.
void CircleColorMode::execute | ( | ) | [inline, virtual] |
Implements Mode.
Definition at line 40 of file circleColorMode.h.
std::string CircleColorMode::getName | ( | ) | [inline, virtual] |
Implements Mode.
Definition at line 53 of file circleColorMode.h.
double CircleColorMode::_inc [private] |
Definition at line 58 of file circleColorMode.h.
size_t CircleColorMode::_num_leds [private] |
Definition at line 59 of file circleColorMode.h.
double CircleColorMode::_timer_inc [private] |
Definition at line 57 of file circleColorMode.h.
bool CircleColorMode::_toggle [private] |
Definition at line 56 of file circleColorMode.h.