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

Method count

extensions/olcPGEX_Network.h:268–272  ·  view source on GitHub ↗

Returns number of items in Queue

Source from the content-addressed store, hash-verified

266
267 // Returns number of items in Queue
268 size_t count()
269 {
270 std::scoped_lock lock(muxQueue);
271 return deqQueue.size();
272 }
273
274 // Clears Queue
275 void clear()

Callers 8

olc_CoreUpdateMethod · 0.80
ConvertKeycodeMethod · 0.80
GetKeySymbolMethod · 0.80
HasPropertyMethod · 0.80
datafileClass · 0.80
AudioThreadMethod · 0.80
connectionMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected