NVIDIA DeepStream SDK API Reference

6.4 Release
ConcurrentQueue< T > Class Template Reference

Detailed Description

template<typename T>
class ConcurrentQueue< T >

Simple concurrent Queue class using an stl queue.

Nothing is special here compare to stl queue except it has only simple operations and it is thread safe.

Definition at line 32 of file concurrent_queue.h.

Inheritance diagram for ConcurrentQueue< T >:

Public Member Functions

void push (const T &elm)
 
pop ()
 
bool is_empty ()
 

Member Function Documentation

◆ is_empty()

template<typename T >
bool ConcurrentQueue< T >::is_empty

Definition at line 63 of file concurrent_queue.h.

◆ pop()

template<typename T >
T ConcurrentQueue< T >::pop

Definition at line 53 of file concurrent_queue.h.

◆ push()

template<typename T >
void ConcurrentQueue< T >::push ( const T &  elm)

Definition at line 45 of file concurrent_queue.h.


The documentation for this class was generated from the following file: