MCPcopy Create free account
hub / github.com/FastLED/FastLED / addToDrawList

Method addToDrawList

src/fl/channels/channel.cpp.hpp:724–733  ·  view source on GitHub ↗

Re-exposed protected base class methods

Source from the content-addressed store, hash-verified

722
723// Re-exposed protected base class methods
724void Channel::addToDrawList() {
725 if (isInList()) {
726 FL_WARN("Channel '" << mName << "': Skipping addToDrawList() - already in draw list");
727 return;
728 }
729 CPixelLEDController<RGB>::addToList();
730 // Fire event after adding to draw list (detectable even if user bypasses FastLED.add())
731 auto& events = ChannelEvents::instance();
732 events.onChannelAdded(*this);
733}
734
735void Channel::removeFromDrawList() {
736 if (!isInList()) {

Callers 2

addMethod · 0.80
channel.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected