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

Method enqueue

tests/fl/channels/spi_channel.cpp:501–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499 }
500
501 void enqueue(ChannelDataPtr channelData) override {
502 if (channelData) {
503 enqueueCount++;
504 // Snapshot the encoded bytes now, before poll() can clear them
505 const auto& src = channelData->getData();
506 fl::vector<uint8_t> copy;
507 copy.insert(copy.end(), src.begin(), src.end());
508 capturedData.push_back(fl::move(copy));
509 }
510 }
511
512 void show() override {
513 showCount++;

Callers

nothing calls this directly

Calls 5

getDataMethod · 0.80
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected