#include <WatermarkedQueue.h>
Inheritance diagram for syn::WatermarkedQueue:
Public Methods | |
WatermarkedQueue () | |
virtual | ~WatermarkedQueue () |
void | setHighMark (unsigned int h) |
set the high mark. More... | |
void | setLowMark (unsigned int l) |
set the low mark. More... | |
unsigned int | highMark () const |
unsigned int | lowMark () const |
bool | high () const |
return true if queue is filled to above the high mark. More... | |
bool | low () const |
return false if queue is filled to below the low mark. More... | |
bool | empty () const |
return true if this queue is empty. More... | |
Public Attributes | |
unsigned int | mLow |
unsigned int | mHigh |
Definition at line 11 of file WatermarkedQueue.h.
|
Definition at line 14 of file WatermarkedQueue.h. |
|
Definition at line 18 of file WatermarkedQueue.h. |
|
set the high mark.
Definition at line 23 of file WatermarkedQueue.h. |
|
set the low mark.
Definition at line 29 of file WatermarkedQueue.h. |
|
Definition at line 34 of file WatermarkedQueue.h. Referenced by high().
|
|
Definition at line 35 of file WatermarkedQueue.h. Referenced by low().
|
|
return true if queue is filled to above the high mark.
Definition at line 38 of file WatermarkedQueue.h. |
|
return false if queue is filled to below the low mark.
Definition at line 41 of file WatermarkedQueue.h. |
|
return true if this queue is empty.
Definition at line 44 of file WatermarkedQueue.h. |
|
Definition at line 46 of file WatermarkedQueue.h. |
|
Definition at line 46 of file WatermarkedQueue.h. |