FastLED 3.9.7
Loading...
Searching...
No Matches
fl::LUT< T > Class Template Reference

Detailed Description

template<typename T>
class fl::LUT< T >

Definition at line 41 of file lut.h.

+ Inheritance diagram for fl::LUT< T >:

Public Member Functions

 LUT (uint32_t length)
 
 LUT (uint32_t length, T *data)
 
const T & operator[] (uint32_t index) const
 
const T & operator[] (uint16_t index) const
 
T * getData () const
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Additional Inherited Members

- Protected Member Functions inherited from fl::Referent
 Referent (const Referent &)
 
Referentoperator= (const Referent &)
 
 Referent (Referent &&)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 
virtual void destroy ()
 

Constructor & Destructor Documentation

◆ LUT() [1/2]

template<typename T >
fl::LUT< T >::LUT ( uint32_t length)
inline

Definition at line 43 of file lut.h.

◆ LUT() [2/2]

template<typename T >
fl::LUT< T >::LUT ( uint32_t length,
T * data )
inline

Definition at line 49 of file lut.h.

◆ ~LUT()

template<typename T >
fl::LUT< T >::~LUT ( )
inline

Definition at line 52 of file lut.h.

Member Function Documentation

◆ getData()

template<typename T >
T * fl::LUT< T >::getData ( ) const
inline

Definition at line 65 of file lut.h.

◆ operator[]() [1/2]

template<typename T >
const T & fl::LUT< T >::operator[] ( uint16_t index) const
inline

Definition at line 61 of file lut.h.

◆ operator[]() [2/2]

template<typename T >
const T & fl::LUT< T >::operator[] ( uint32_t index) const
inline

Definition at line 57 of file lut.h.


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