FastLED 3.9.3
Loading...
Searching...
No Matches
FxStrip Class Reference

Detailed Description

Definition at line 12 of file fx1d.h.

+ Inheritance diagram for FxStrip:

Public Member Functions

 FxStrip (uint16_t numLeds)
 
void setXmap (const XMap &xMap)
 
uint16_t xyMap (uint16_t x) const
 
- Public Member Functions inherited from Fx
 Fx (uint16_t numLeds)
 
virtual void draw (DrawContext context)=0
 
virtual bool hasAlphaChannel () const
 
virtual bool hasFixedFrameRate (float *fps) const
 
virtual const char * fxName (int which=-1) const =0
 
virtual int fxNum () const
 
virtual void fxSet (int fx)
 
virtual void fxNext (int fx=1)
 
virtual int fxGet () const
 
virtual void pause ()
 
virtual void resume ()
 
virtual void destroy ()
 
virtual void lazyInit ()
 
uint16_t getNumLeds () const
 
- Public Member Functions inherited from Referent
virtual int ref_count () const
 

Protected Attributes

XMap mXMap
 
- Protected Attributes inherited from Fx
uint16_t mNumLeds
 

Additional Inherited Members

- Public Types inherited from Fx
using DrawContext = _DrawContext
 
- Protected Member Functions inherited from Referent
 Referent (const Referent &)
 
Referentoperator= (const Referent &)
 
 Referent (Referent &&)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 

Constructor & Destructor Documentation

◆ FxStrip()

FxStrip::FxStrip ( uint16_t numLeds)
inline

Definition at line 14 of file fx1d.h.

Member Function Documentation

◆ setXmap()

void FxStrip::setXmap ( const XMap & xMap)
inline

Definition at line 15 of file fx1d.h.

◆ xyMap()

uint16_t FxStrip::xyMap ( uint16_t x) const
inline

Definition at line 19 of file fx1d.h.

Member Data Documentation

◆ mXMap

XMap FxStrip::mXMap
protected

Definition at line 24 of file fx1d.h.


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