FastLED 3.10.8
Loading...
Searching...
No Matches

◆ nextId()

i32 fl::Channel::nextId ( )
staticprivate

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

266 {
267 static fl::atomic<i32> gNextChannelId(0); // okay static in header
268 return gNextChannelId.fetch_add(1);
269}
AtomicFake< T > atomic
Definition atomic.h:26

References fl::AtomicFake< T >::fetch_add(), and fl::FL_NO_EXCEPT.

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

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