#include <Queue.h>
Inheritance diagram for ZThread::Queue::
Public Methods | |
virtual void | add (T)=0 throw (Synchronization_Exception) |
virtual T | next ()=0 throw (Synchronization_Exception) |
virtual T | next (unsigned long)=0 throw (Synchronization_Exception) |
virtual void | cancel ()=0 throw (Synchronization_Exception) |
virtual bool | empty ()=0 throw (Synchronization_Exception) |
|
Add a new object to this Queue
Reimplemented in ZThread::BlockingQueue, ZThread::BufferedQueue, ZThread::LockedQueue, ZThread::MonitoredQueue, and ZThread::SimpleQueue. |
|
Cancel this queue. No more objects can be added to it
Reimplemented from ZThread::Cancelable. Reimplemented in ZThread::BlockingQueue, ZThread::BufferedQueue, ZThread::LockedQueue, ZThread::MonitoredQueue, and ZThread::SimpleQueue. |
|
Test this queue to see if it is empty. This method may or may not block the caller, it is completely up to the implementation to decide weather or not it is appropriate to block the caller.
Reimplemented in ZThread::BlockingQueue, ZThread::BufferedQueue, ZThread::LockedQueue, ZThread::MonitoredQueue, and ZThread::SimpleQueue. |
|
Get an object from this Queue within a given amount of time
Reimplemented in ZThread::BlockingQueue, ZThread::BufferedQueue, ZThread::LockedQueue, ZThread::MonitoredQueue, and ZThread::SimpleQueue. |
|
Get an object from this Queue
Reimplemented in ZThread::BlockingQueue, ZThread::BufferedQueue, ZThread::LockedQueue, ZThread::MonitoredQueue, and ZThread::SimpleQueue. |