FastLED 3.9.15
|
Iterator helper class for CPixelView.
the | type of the LED array data |
Definition at line 413 of file pixelset.h.
#include <pixelset.h>
Public Member Functions | |
FASTLED_FORCE_INLINE | pixelset_iterator_base (const pixelset_iterator_base &rhs) |
Copy constructor. | |
FASTLED_FORCE_INLINE | pixelset_iterator_base (T *_leds, const char _dir) |
Base constructor. | |
FASTLED_FORCE_INLINE bool | operator!= (pixelset_iterator_base &other) const |
Check if iterator is not at the same position. | |
FASTLED_FORCE_INLINE PIXEL_TYPE & | operator* () const |
Dereference operator, to get underlying pointer to the LEDs. | |
FASTLED_FORCE_INLINE pixelset_iterator_base & | operator++ () |
Increment LED pointer in data direction. | |
FASTLED_FORCE_INLINE pixelset_iterator_base | operator++ (int) |
Increment LED pointer in data direction. | |
FASTLED_FORCE_INLINE bool | operator== (pixelset_iterator_base &other) const |
Check if iterator is at the same position. | |
Private Attributes | |
const int8_t | dir |
direction of LED array, for incrementing the pointer | |
T * | leds |
pointer to LED array | |