LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
SafeQueue Class Reference

Public Member Functions

void push (const DaqData &d)
 
DaqData pop ()
 
bool empty () const
 Empty implemented using atomic var, safes some mutex lock/unlock cycles.
 

Detailed Description

Definition at line 18 of file lasp_threadedindatahandler.cpp.

Member Function Documentation

◆ empty()

bool SafeQueue::empty ( ) const
inline

Empty implemented using atomic var, safes some mutex lock/unlock cycles.

Returns
true if queue is empty

Definition at line 51 of file lasp_threadedindatahandler.cpp.

◆ pop()

DaqData SafeQueue::pop ( )
inline

Definition at line 31 of file lasp_threadedindatahandler.cpp.

◆ push()

void SafeQueue::push ( const DaqData d)
inline

Definition at line 24 of file lasp_threadedindatahandler.cpp.


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