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

◆ nextId()

i32 fl::Channel::nextId ( )
staticprivate

Definition at line 151 of file channel.cpp.hpp.

151 {
152 static fl::atomic<i32> gNextChannelId(0); // okay static in header
153 return gNextChannelId.fetch_add(1);
154}
AtomicFake< T > atomic
Definition atomic.h:26

References fl::AtomicFake< T >::fetch_add().

Referenced by Channel(), Channel(), Channel(), and operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: