FastLED 3.9.3
Loading...
Searching...
No Matches
LUT< T > Class Template Reference

Detailed Description

template<typename T>
class LUT< T >

Definition at line 41 of file lut.h.

+ Inheritance diagram for 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 Referent
virtual int ref_count () const
 

Friends

class RefTraits< LUT< T > >
 

Additional Inherited Members

- Protected Member Functions inherited from 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 >
LUT< T >::LUT ( uint32_t length)
inline

Definition at line 44 of file lut.h.

◆ LUT() [2/2]

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

Definition at line 50 of file lut.h.

◆ ~LUT()

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

Definition at line 53 of file lut.h.

Member Function Documentation

◆ getData()

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

Definition at line 66 of file lut.h.

◆ operator[]() [1/2]

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

Definition at line 62 of file lut.h.

◆ operator[]() [2/2]

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

Definition at line 58 of file lut.h.

Friends And Related Symbol Documentation

◆ RefTraits< LUT< T > >

template<typename T >
friend class RefTraits< LUT< T > >
friend

Definition at line 21 of file lut.h.


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