Public Member Functions | Private Attributes | List of all members
single_consumer_frame_queue< T > Class Template Reference

#include <concurrency.h>

Public Member Functions

void clear ()
 
bool dequeue (T *item, unsigned int timeout_ms)
 
void enqueue (T &&item)
 
bool peek (T **item)
 
 single_consumer_frame_queue (unsigned int cap=QUEUE_MAX_SIZE)
 
size_t size ()
 
void start ()
 
bool try_dequeue (T *item)
 

Private Attributes

single_consumer_queue< T > _queue
 

Detailed Description

template<class T>
class single_consumer_frame_queue< T >

Definition at line 148 of file concurrency.h.

Constructor & Destructor Documentation

template<class T>
single_consumer_frame_queue< T >::single_consumer_frame_queue ( unsigned int  cap = QUEUE_MAX_SIZE)
inline

Definition at line 153 of file concurrency.h.

Member Function Documentation

template<class T>
void single_consumer_frame_queue< T >::clear ( )
inline

Definition at line 178 of file concurrency.h.

template<class T>
bool single_consumer_frame_queue< T >::dequeue ( T *  item,
unsigned int  timeout_ms 
)
inline

Definition at line 163 of file concurrency.h.

template<class T>
void single_consumer_frame_queue< T >::enqueue ( T &&  item)
inline

Definition at line 155 of file concurrency.h.

template<class T>
bool single_consumer_frame_queue< T >::peek ( T **  item)
inline

Definition at line 168 of file concurrency.h.

template<class T>
size_t single_consumer_frame_queue< T >::size ( )
inline

Definition at line 188 of file concurrency.h.

template<class T>
void single_consumer_frame_queue< T >::start ( )
inline

Definition at line 183 of file concurrency.h.

template<class T>
bool single_consumer_frame_queue< T >::try_dequeue ( T *  item)
inline

Definition at line 173 of file concurrency.h.

Member Data Documentation

template<class T>
single_consumer_queue<T> single_consumer_frame_queue< T >::_queue
private

Definition at line 150 of file concurrency.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32