FastLED 3.9.7
Loading...
Searching...
No Matches
LedRopeTCL Class Reference

Detailed Description

Definition at line 43 of file LedRopeTCL.h.

+ Inheritance diagram for LedRopeTCL:

Public Member Functions

 LedRopeTCL (int n_pixels)
 
void Draw ()
 
void DrawSequentialRepeat (int repeat)
 
void DrawRepeat (const int *value_array, int array_length)
 
void set_draw_offset (int val)
 
virtual void Set (int i, const Color3i &c)
 
Color3iGetIterator (int i)
 
int length () const
 
void RawBeginDraw ()
 
void RawDrawPixel (const Color3i &c)
 
void RawDrawPixels (const Color3i &c, int n)
 
void RawDrawPixel (uint8_t r, uint8_t g, uint8_t b)
 
void RawCommitDraw ()
 
- Public Member Functions inherited from LedRopeInterface
virtual void Set (int i, int length, const Color3i &color)
 

Protected Member Functions

void PreDrawSetup ()
 

Protected Attributes

int draw_offset_ = 0
 
bool lazy_initialized_
 
FrameBuffer frame_buffer_
 
bool controller_added_ = false
 
fl::HeapVector< CRGBled_buffer_
 
fl::ScreenMap mScreenMap
 

Constructor & Destructor Documentation

◆ LedRopeTCL()

LedRopeTCL::LedRopeTCL ( int n_pixels)

Definition at line 111 of file LedRopeTCL.cpp.

◆ ~LedRopeTCL()

LedRopeTCL::~LedRopeTCL ( )
virtual

Definition at line 118 of file LedRopeTCL.cpp.

Member Function Documentation

◆ Draw()

void LedRopeTCL::Draw ( )

Definition at line 122 of file LedRopeTCL.cpp.

◆ DrawRepeat()

void LedRopeTCL::DrawRepeat ( const int * value_array,
int array_length )
virtual

Implements LedRopeInterface.

Definition at line 159 of file LedRopeTCL.cpp.

◆ DrawSequentialRepeat()

void LedRopeTCL::DrawSequentialRepeat ( int repeat)
virtual

Implements LedRopeInterface.

Definition at line 139 of file LedRopeTCL.cpp.

◆ GetIterator()

Color3i * LedRopeTCL::GetIterator ( int i)
inlinevirtual

Implements LedRopeInterface.

Definition at line 57 of file LedRopeTCL.h.

◆ length()

int LedRopeTCL::length ( ) const
inlinevirtual

Implements LedRopeInterface.

Definition at line 61 of file LedRopeTCL.h.

◆ PreDrawSetup()

void LedRopeTCL::PreDrawSetup ( )
protected

Definition at line 54 of file LedRopeTCL.cpp.

◆ RawBeginDraw()

void LedRopeTCL::RawBeginDraw ( )
virtual

Implements LedRopeInterface.

Definition at line 62 of file LedRopeTCL.cpp.

◆ RawCommitDraw()

void LedRopeTCL::RawCommitDraw ( )
virtual

Implements LedRopeInterface.

Definition at line 100 of file LedRopeTCL.cpp.

◆ RawDrawPixel() [1/2]

void LedRopeTCL::RawDrawPixel ( const Color3i & c)
virtual

Implements LedRopeInterface.

Definition at line 68 of file LedRopeTCL.cpp.

◆ RawDrawPixel() [2/2]

void LedRopeTCL::RawDrawPixel ( uint8_t r,
uint8_t g,
uint8_t b )
virtual

Implements LedRopeInterface.

Definition at line 73 of file LedRopeTCL.cpp.

◆ RawDrawPixels()

void LedRopeTCL::RawDrawPixels ( const Color3i & c,
int n )
virtual

Implements LedRopeInterface.

Definition at line 87 of file LedRopeTCL.cpp.

◆ Set()

virtual void LedRopeTCL::Set ( int i,
const Color3i & c )
inlinevirtual

Implements LedRopeInterface.

Definition at line 53 of file LedRopeTCL.h.

◆ set_draw_offset()

void LedRopeTCL::set_draw_offset ( int val)

Definition at line 94 of file LedRopeTCL.cpp.

Member Data Documentation

◆ controller_added_

bool LedRopeTCL::controller_added_ = false
protected

Definition at line 74 of file LedRopeTCL.h.

◆ draw_offset_

int LedRopeTCL::draw_offset_ = 0
protected

Definition at line 71 of file LedRopeTCL.h.

◆ frame_buffer_

FrameBuffer LedRopeTCL::frame_buffer_
protected

Definition at line 73 of file LedRopeTCL.h.

◆ lazy_initialized_

bool LedRopeTCL::lazy_initialized_
protected

Definition at line 72 of file LedRopeTCL.h.

◆ led_buffer_

fl::HeapVector<CRGB> LedRopeTCL::led_buffer_
protected

Definition at line 75 of file LedRopeTCL.h.

◆ mScreenMap

fl::ScreenMap LedRopeTCL::mScreenMap
protected

Definition at line 76 of file LedRopeTCL.h.


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