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

Class id

src/platforms/stub/thread_stub_noop.h:37–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 public:
36 // Thread ID type for single-threaded mode
37 class id {
38 private:
39 int mId;
40 friend class ThreadFake;
41 explicit id(int val) FL_NOEXCEPT : mId(val) {}
42 public:
43 id() FL_NOEXCEPT : mId(0) {}
44 bool operator==(const id& other) const FL_NOEXCEPT { return mId == other.mId; }
45 bool operator!=(const id& other) const FL_NOEXCEPT { return mId != other.mId; }
46 bool operator<(const id& other) const FL_NOEXCEPT { return mId < other.mId; }
47 bool operator<=(const id& other) const FL_NOEXCEPT { return mId <= other.mId; }
48 bool operator>(const id& other) const FL_NOEXCEPT { return mId > other.mId; }
49 bool operator>=(const id& other) const FL_NOEXCEPT { return mId >= other.mId; }
50 };
51
52 ThreadFake() = default;
53

Callers 15

bindAsyncMethod · 0.85
getMethod · 0.85
registerMethodMethod · 0.85
toJsonMethod · 0.85
JsonUiTitleInternalClass · 0.85
JsonUiHelpInternalClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected