MCPcopy Create free account
hub / github.com/CMU-Perceptual-Computing-Lab/openpose / size

Method size

include/openpose/thread/queueBase.hpp:404–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402
403 template<typename TDatums, typename TQueue>
404 size_t QueueBase<TDatums, TQueue>::size() const
405 {
406 try
407 {
408 const std::lock_guard<std::mutex> lock{mMutex};
409 return mTQueue.size();
410 }
411 catch (const std::exception& e)
412 {
413 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
414 return 0;
415 }
416 }
417
418 template<typename TDatums, typename TQueue>
419 void QueueBase<TDatums, TQueue>::clear()

Callers 15

workProducerMethod · 0.45
getNumberDimensionsMethod · 0.45
vectorsAreEqualFunction · 0.45
checkNoNullNorEmptyFunction · 0.45
forceEmplaceMethod · 0.45
tryEmplaceMethod · 0.45
waitAndEmplaceMethod · 0.45
forcePushMethod · 0.45
tryPushMethod · 0.45
waitAndPushMethod · 0.45
execMethod · 0.45

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected