MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / empty

Method empty

extensions/olcPGEX_Network.h:261–265  ·  view source on GitHub ↗

Returns true if Queue has no items

Source from the content-addressed store, hash-verified

259
260 // Returns true if Queue has no items
261 bool empty()
262 {
263 std::scoped_lock lock(muxQueue);
264 return deqQueue.empty();
265 }
266
267 // Returns number of items in Queue
268 size_t count()

Callers 15

scrambleMethod · 0.80
SetDrawTargetMethod · 0.80
UpdateTextEntryMethod · 0.80
WriteMethod · 0.80
ReadMethod · 0.80
SampleMethod · 0.80
LoadObjFunction · 0.80
HasChildrenMethod · 0.80
OnUpMethod · 0.80
OnDownMethod · 0.80
OnLeftMethod · 0.80
OnRightMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected