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

Method size

src/fl/channels/id_tracker.cpp.hpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62size_t IdTracker::size() FL_NOEXCEPT {
63 // Lock for thread safety
64 mMutex.lock();
65
66 size_t currentSize = mPointerToId.size();
67
68 mMutex.unlock();
69 return currentSize;
70}
71
72void IdTracker::clear() FL_NOEXCEPT {
73 // Lock for thread safety

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected