FastLED 3.10.6
Loading...
Searching...
No Matches

◆ CLEDController() [1/2]

CLEDController::CLEDController ( RegistrationMode mode)
protected

Protected constructor with registration mode.

Parameters
modeRegistration mode (AutoRegister or DeferRegister)
Note
Subclasses can use DeferRegister to control when they join the linked list. fl::Channel uses DeferRegister and joins the draw list when FastLED.add(ChannelPtr) calls addToList().

Definition at line 28 of file cled_controller.cpp.hpp.

28 : mLeds(), mSettings() {
30 addToList();
31 }
32}
@ AutoRegister
Automatically add to linked list (default, backward compatible)
ChannelOptions mSettings
Optional channel settings (correction, temperature, dither, rgbw, affinity)
void addToList() FL_NO_EXCEPT
Add this controller to the linked list.
fl::span< CRGB > mLeds
span of LED data used by this controller

References addToList(), AutoRegister, mLeds, and mSettings.

Referenced by CPixelLEDController< RGB_ORDER, LANES, MASK >::CPixelLEDController(), CPixelLEDController< RGB_ORDER, LANES, MASK >::CPixelLEDController(), clearWhiteChannel(), head(), isInList(), next(), next(), removeFromList(), setCorrection(), setCorrection(), setDither(), setLeds(), setLeds(), setRgbw(), setRgbww(), setScreenMap(), setScreenMap(), setScreenMap(), setSpiBus(), setTemperature(), setTemperature(), and visitControllers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: