#include <LockingQueue.hpp>
|
| bool | consumeAll (std::function< void(T &)> callback) |
| |
| void | destruct () |
| |
| bool | empty () const |
| |
| bool | front (T &value) |
| |
| bool | getBlocking () const |
| |
| unsigned | getMaxSize () const |
| |
| | LockingQueue ()=default |
| |
| | LockingQueue (unsigned maxSize, bool blocking=true) |
| |
| bool | push (T const &data) |
| |
| void | setBlocking (bool bl) |
| |
| void | setMaxSize (unsigned sz) |
| |
| bool | tryPop (T &value) |
| |
| template<typename Rep , typename Period > |
| bool | tryWaitAndPop (T &value, std::chrono::duration< Rep, Period > timeout) |
| |
| template<typename Rep , typename Period > |
| bool | tryWaitAndPush (T const &data, std::chrono::duration< Rep, Period > timeout) |
| |
| bool | waitAndConsumeAll (std::function< void(T &)> callback) |
| |
| template<typename Rep , typename Period > |
| bool | waitAndConsumeAll (std::function< void(T &)> callback, std::chrono::duration< Rep, Period > timeout) |
| |
| bool | waitAndPop (T &value) |
| |
| void | waitEmpty () |
| |
| | ~LockingQueue ()=default |
| |
template<typename T>
class dai::LockingQueue< T >
Definition at line 12 of file LockingQueue.hpp.
◆ LockingQueue() [1/2]
◆ LockingQueue() [2/2]
◆ ~LockingQueue()
◆ consumeAll()
◆ destruct()
◆ empty()
◆ front()
◆ getBlocking()
◆ getMaxSize()
◆ push()
◆ setBlocking()
◆ setMaxSize()
◆ tryPop()
◆ tryWaitAndPop()
template<typename T >
template<typename Rep , typename Period >
| bool dai::LockingQueue< T >::tryWaitAndPop |
( |
T & |
value, |
|
|
std::chrono::duration< Rep, Period > |
timeout |
|
) |
| |
|
inline |
◆ tryWaitAndPush()
template<typename T >
template<typename Rep , typename Period >
| bool dai::LockingQueue< T >::tryWaitAndPush |
( |
T const & |
data, |
|
|
std::chrono::duration< Rep, Period > |
timeout |
|
) |
| |
|
inline |
◆ waitAndConsumeAll() [1/2]
◆ waitAndConsumeAll() [2/2]
template<typename T >
template<typename Rep , typename Period >
| bool dai::LockingQueue< T >::waitAndConsumeAll |
( |
std::function< void(T &)> |
callback, |
|
|
std::chrono::duration< Rep, Period > |
timeout |
|
) |
| |
|
inline |
◆ waitAndPop()
◆ waitEmpty()
◆ blocking
◆ destructed
◆ guard
◆ maxSize
◆ queue
◆ signalPop
◆ signalPush
The documentation for this class was generated from the following file: