FastLED 3.9.15
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

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)
void addToList() FL_NOEXCEPT
Add this controller to the linked list.
ChannelOptions mSettings
Optional channel settings (correction, temperature, dither, rgbw, affinity)
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(), setTemperature(), setTemperature(), and visitControllers().

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