#include <flashMode.h>
Public Member Functions | |
void | execute () |
FlashMode (color::rgba color, int priority=0, double freq=0.25, int pulses=0, double timeout=0) | |
std::string | getName () |
Private Attributes | |
double | _inc |
double | _timer_inc |
bool | _toggle |
Definition at line 23 of file flashMode.h.
FlashMode::FlashMode | ( | color::rgba | color, |
int | priority = 0 , |
||
double | freq = 0.25 , |
||
int | pulses = 0 , |
||
double | timeout = 0 |
||
) | [inline] |
Definition at line 26 of file flashMode.h.
void FlashMode::execute | ( | ) | [inline, virtual] |
Implements Mode.
Definition at line 38 of file flashMode.h.
std::string FlashMode::getName | ( | ) | [inline, virtual] |
Implements Mode.
Definition at line 56 of file flashMode.h.
double FlashMode::_inc [private] |
Definition at line 61 of file flashMode.h.
double FlashMode::_timer_inc [private] |
Definition at line 60 of file flashMode.h.
bool FlashMode::_toggle [private] |
Definition at line 59 of file flashMode.h.