NVIDIA DeepStream SDK API Reference

9.0 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 22 of file sources/apps/sample_apps/deepstream-transfer-learning-app/concurrent_queue.h.

Inheritance diagram for ConcurrentQueue< T >:

Public Member Functions

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

Member Function Documentation

◆ is_empty() [1/2]

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

◆ is_empty() [2/2]

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

◆ pop() [1/2]

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

◆ pop() [2/2]

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

◆ push() [1/2]

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

◆ push() [2/2]

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

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