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

Method Queue

include/openpose/thread/queue.hpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34{
35 template<typename TDatums, typename TQueue>
36 Queue<TDatums, TQueue>::Queue(const long long maxSize) :
37 QueueBase<TDatums, TQueue>{maxSize}
38 {
39 // Check TDatums = underlying value type of TQueue
40 typedef typename TQueue::value_type underlyingValueType;
41 static_assert(std::is_same<TDatums, underlyingValueType>::value,
42 "Error: The type of the queue must be the same as the type of the container");
43 }
44
45 template<typename TDatums, typename TQueue>
46 Queue<TDatums, TQueue>::~Queue()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected