FastLED 3.10.8
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_NO_EXCEPT
Definition span.h:483
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
Definition shared_ptr.h:423
fl::vector< ChannelConfigPtr > mChannels
Vector of shared pointers to channel configurations.
Definition config.h:396

References fl::FL_NO_EXCEPT, fl::adl_barrier::make_shared(), and mChannels.

+ Here is the call graph for this function: