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

Method AsyncLogQueue

src/fl/log/async_log_queue.cpp.hpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26template <fl::size DescriptorCount, fl::size ArenaSize>
27AsyncLogQueue<DescriptorCount, ArenaSize>::AsyncLogQueue()
28 : mHead(0), mTail(0), mArenaHead(0), mArenaTail(0), mDropped(0) {
29 // Initialize all descriptors to zero (optional, for debugging)
30 for (fl::size i = 0; i < DescriptorCount; i++) {
31 mDescriptors[i] = Descriptor();
32 }
33}
34
35template <fl::size DescriptorCount, fl::size ArenaSize>
36bool AsyncLogQueue<DescriptorCount, ArenaSize>::push(const fl::string& msg) {

Callers

nothing calls this directly

Calls 1

DescriptorClass · 0.85

Tested by

no test coverage detected