FastLED 3.9.15
Loading...
Searching...
No Matches

◆ add()

MultiChannelConfig & fl::MultiChannelConfig::add ( ChannelConfigPtr channel)

Add a channel configuration to the multi-channel config.

Parameters
channelshared pointer to the channel configuration to add
Returns
reference to this object for method chaining
Examples
/home/runner/work/FastLED/FastLED/src/fl/channels/config.h.

Definition at line 96 of file config.cpp.hpp.

96 {
97 mChannels.push_back(channel);
98 return *this;
99}
fl::vector< ChannelConfigPtr > mChannels
Vector of shared pointers to channel configurations.
Definition config.h:392

References MultiChannelConfig(), and mChannels.

Referenced by ~MultiChannelConfig().

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