|
Beam-lib
2.16.3
This is the Beam C++ class library.
|
Queue class. More...
#include <BQueue.h>
Public Member Functions | |
| BQueue (BUInt size) | |
| ~BQueue () | |
| void | clear () |
| Clear the queue. More... | |
| BUInt | writeAvailable () const |
| BError | write (const T &v, BTimeout timeout=BTimeoutForever) |
| Append an item onto the queue. More... | |
| BUInt | readAvailable () const |
| BError | read (T &v, BTimeout timeout=BTimeoutForever) |
| Get an item from the queue. More... | |
Queue class.
|
virtual |
Clear the queue.
Reimplemented from BList< T >.
| BError BQueue< T >::read | ( | T & | v, |
| BTimeout | timeout = BTimeoutForever |
||
| ) |
Get an item from the queue.
| BError BQueue< T >::write | ( | const T & | v, |
| BTimeout | timeout = BTimeoutForever |
||
| ) |
Append an item onto the queue.
1.8.15