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

◆ MultiChannelConfig() [6/7]

fl::MultiChannelConfig::MultiChannelConfig ( fl::span< ChannelConfig > channels)

Construct from span of ChannelConfig (copies to shared_ptr internally)

Parameters
channelsSpan of ChannelConfig objects to copy

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

82 {
83 mChannels.reserve(channels.size());
84 for (const auto& config : channels) {
86 }
87}
constexpr fl::size size() const FL_NOEXCEPT
Definition span.h:458
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Definition shared_ptr.h:414
fl::vector< ChannelConfigPtr > mChannels
Vector of shared pointers to channel configurations.
Definition config.h:392

References fl::make_shared(), and mChannels.

+ Here is the call graph for this function: