FastLED 3.9.15
Loading...
Searching...
No Matches
CPixelView< PIXEL_TYPE >::pixelset_iterator_base< T > Class Template Reference

Detailed Description

template<class PIXEL_TYPE>
template<class T>
class CPixelView< PIXEL_TYPE >::pixelset_iterator_base< T >

Iterator helper class for CPixelView.

Template Parameters
thetype of the LED array data
Todo
Make this a fully specified/proper iterator

Definition at line 413 of file pixelset.h.

#include <pixelset.h>

+ Inheritance diagram for CPixelView< PIXEL_TYPE >::pixelset_iterator_base< T >:

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_baseoperator++ ()
 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
 

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