arduino-audio-tools
Public Member Functions | Protected Attributes | List of all members
SynchronizedQueue< T, TMutex > Class Template Reference

FIFO Queue which is based on a List that is thread save. More...

#include <SynchronizedQueue.h>

Public Member Functions

bool clear ()
 
bool dequeue (T &data)
 
bool empty ()
 
bool enqueue (T &data)
 
bool peek (T &data)
 
void setAllocator (Allocator &allocator)
 
size_t size ()
 

Protected Attributes

List< T > l
 
TMutex mutex
 

Detailed Description

template<class T, class TMutex>
class audio_tools::SynchronizedQueue< T, TMutex >

FIFO Queue which is based on a List that is thread save.

Author
Phil Schatzmann
Template Parameters
T
TMutex

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