dataQueue.h

Go to the documentation of this file.
00001 
00014 #ifndef _DLR_THREAD_DATAQUEUE_H_
00015 #define _DLR_THREAD_DATAQUEUE_H_
00016 
00017 #include <dlrThread/broadcastQueue.h>
00018 
00019 
00020 namespace dlr {
00021 
00022   namespace thread {
00023 
00024     
00031     template <class Type>
00032     class DataQueue : public BroadcastQueue<Type>
00033     {
00034     public:
00035 
00036       DataQueue(size_t maximumLength, size_t numberOfClients=2)
00037         : BroadcastQueue<Type>(maximumLength, numberOfClients) {}
00038 
00039       DataQueue(const DataQueue<Type>& source)
00040         : BroadcastQueue<Type>(source) {}
00041 
00042       virtual
00043       ~DataQueue() {}
00044 
00045     };
00046 
00047   } // namespace thread
00048 
00049 } // namespace dlr
00050 
00051 #endif /* #ifndef _DLR_THREAD_DATAQUEUE_H_ */

Generated on Mon Jul 9 20:34:02 2007 for dlrLibs Utility Libraries by  doxygen 1.5.2