Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <concurrency.h>
Public Member Functions | |
single_consumer_frame_queue (unsigned int cap=QUEUE_MAX_SIZE, std::function< void(T const &) > on_drop_callback=nullptr) | |
bool | enqueue (T &&item) |
bool | dequeue (T *item, unsigned int timeout_ms) |
bool | try_dequeue (T *item) |
template<class Fn > | |
bool | peek (Fn fn) const |
template<class Fn > | |
bool | peek (Fn fn) |
void | clear () |
void | stop () |
void | start () |
size_t | size () const |
bool | empty () const |
bool | started () const |
bool | stopped () const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |