FastLED 3.10.8
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 29 of file cled_controller.cpp.hpp.

30 mEnabled(true), mFixedWhiteChannel(false) {
32 addToList();
33 }
34}
@ AutoRegister
Automatically add to linked list (default, backward compatible)
LegacySettings mLegacySettings
bool mFixedWhiteChannel
chipset wire format owns the white policy
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, fl::FL_NO_EXCEPT, mEnabled, mFixedWhiteChannel, mLeds, and mLegacySettings.

Referenced by CPixelLEDController< RGB_ORDER, LANES, MASK >::CPixelLEDController(), addToList(), 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: