FastLED 3.9.7
Loading...
Searching...
No Matches
fl::Fx1d Class Reference

Detailed Description

Definition at line 12 of file fx1d.h.

+ Inheritance diagram for fl::Fx1d:

Public Member Functions

 Fx1d (uint16_t numLeds)
 
void setXmap (const XMap &xMap)
 
uint16_t xyMap (uint16_t x) const
 
- Public Member Functions inherited from fl::Fx
 Fx (uint16_t numLeds)
 
virtual void draw (DrawContext context)=0
 
virtual bool hasFixedFrameRate (float *fps) const
 
virtual fl::Str fxName () const =0
 
virtual void pause (uint32_t now)
 
virtual void resume (uint32_t now)
 
uint16_t getNumLeds () const
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Protected Attributes

XMap mXMap
 
- Protected Attributes inherited from fl::Fx
uint16_t mNumLeds
 

Additional Inherited Members

- Public Types inherited from fl::Fx
using DrawContext = _DrawContext
 
- 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

◆ Fx1d()

fl::Fx1d::Fx1d ( uint16_t numLeds)
inline

Definition at line 14 of file fx1d.h.

Member Function Documentation

◆ setXmap()

void fl::Fx1d::setXmap ( const XMap & xMap)
inline

Definition at line 15 of file fx1d.h.

◆ xyMap()

uint16_t fl::Fx1d::xyMap ( uint16_t x) const
inline

Definition at line 19 of file fx1d.h.

Member Data Documentation

◆ mXMap

XMap fl::Fx1d::mXMap
protected

Definition at line 24 of file fx1d.h.


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