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

◆ size()

virtual int fl::CLEDController::size ( ) const
inlinevirtual

How many LEDs does this controller manage?

Returns
CLEDController::mLeds.size()

Reimplemented in fl::Channel.

Definition at line 358 of file cled_controller.h.

358{ return mLeds.size(); }
fl::span< CRGB > mLeds
span of LED data used by this controller

References fl::FL_NO_EXCEPT, and mLeds.

Referenced by beginShowLeds(), RGBWEmulatedController< CONTROLLER, RGB_ORDER >::beginShowLeds(), calculate_max_brightness_for_power_mW(), RGBWEmulatedController< CONTROLLER, RGB_ORDER >::ControllerT::callBeginShowLeds(), fl::Channel::leds(), fl::Channel::leds(), CFastLED::show(), CFastLED::showColor(), fl::Channel::size(), and visitControllers().

+ Here is the caller graph for this function: