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

Detailed Description

Definition at line 84 of file animartrix.hpp.

+ Inheritance diagram for fl::Animartrix:

Public Member Functions

 Animartrix (XYMap xyMap, AnimartrixAnim which_animation)
 
 Animartrix (const Animartrix &)=delete
 
void draw (DrawContext context) override
 
int fxNum () const
 
void fxSet (int fx)
 
int fxGet () const
 
Str fxName () const override
 
void fxNext (int fx=1)
 
- Public Member Functions inherited from fl::Fx2d
 Fx2d (const XYMap &xyMap)
 
uint16_t xyMap (uint16_t x, uint16_t y) const
 
uint16_t getHeight () const
 
uint16_t getWidth () const
 
void setXYMap (const XYMap &xyMap)
 
XYMapgetXYMap ()
 
const XYMapgetXYMap () const
 
- Public Member Functions inherited from fl::Fx
 Fx (uint16_t numLeds)
 
virtual bool hasFixedFrameRate (float *fps) const
 
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
 

Friends

class FastLEDANIMartRIX
 
void AnimartrixLoop (Animartrix &self, uint32_t now)
 

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 ()
 
- Protected Attributes inherited from fl::Fx2d
XYMap mXyMap
 
- Protected Attributes inherited from fl::Fx
uint16_t mNumLeds
 

Constructor & Destructor Documentation

◆ Animartrix()

fl::Animartrix::Animartrix ( XYMap xyMap,
AnimartrixAnim which_animation )
inline

Definition at line 86 of file animartrix.hpp.

Member Function Documentation

◆ draw()

void fl::Animartrix::draw ( DrawContext context)
overridevirtual
Parameters
nowThe current time in milliseconds. Fx writers are encouraged to use this instead of millis() directly as this will more deterministic behavior.

Implements fl::Fx.

Definition at line 252 of file animartrix.hpp.

◆ fxGet()

int fl::Animartrix::fxGet ( ) const
inline

Definition at line 96 of file animartrix.hpp.

◆ fxName()

Str fl::Animartrix::fxName ( ) const
inlineoverridevirtual

Implements fl::Fx.

Definition at line 97 of file animartrix.hpp.

◆ fxNext()

void fl::Animartrix::fxNext ( int fx = 1)
inline

Definition at line 100 of file animartrix.hpp.

◆ fxNum()

int fl::Animartrix::fxNum ( ) const
inline

Definition at line 94 of file animartrix.hpp.

◆ fxSet()

void fl::Animartrix::fxSet ( int fx)

Definition at line 149 of file animartrix.hpp.

Friends And Related Symbol Documentation

◆ AnimartrixLoop

void AnimartrixLoop ( Animartrix & self,
uint32_t now )
friend

Definition at line 162 of file animartrix.hpp.

◆ FastLEDANIMartRIX

friend class FastLEDANIMartRIX
friend

Definition at line 104 of file animartrix.hpp.


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