|
Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <concurrency.h>
Public Member Functions | |
| single_consumer_queue (unsigned int cap=QUEUE_MAX_SIZE, std::function< void(T const &) > on_drop_callback=nullptr) | |
| bool | enqueue (T &&item) |
| bool | blocking_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 | stop () |
| void | clear () |
| void | start () |
| bool | started () const |
| bool | stopped () const |
| size_t | size () const |
| bool | empty () const |
Protected Member Functions | |
| void | _clear () |
|
inlineexplicit |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |