Public Member Functions | Private Attributes
SweepColorMode Class Reference

#include <sweepColorMode.h>

Inheritance diagram for SweepColorMode:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 24 of file sweepColorMode.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following file:


cob_light
Author(s): Benjamin Maidel
autogenerated on Sat Jun 8 2019 21:02:07