17 template <
typename Element>
28 bool Push(Element
const& element);
29 bool Pop(Element& element);
38 template <
typename Element>
43 template <
typename Element>
50 template <
typename Element>
53 size_t maxNumElements;
59 return maxNumElements;
62 template <
typename Element>
68 numElements =
mQueue.size();
74 template <
typename Element>
94 template <
typename Element>
virtual ~ThreadSafeQueue()
size_t GetNumElements() const
size_t GetMaxNumElements() const
bool Push(Element const &element)
bool Pop(Element &element)
ThreadSafeQueue(size_t maxNumElements=0)
std::queue< Element > mQueue