diff options
author | deva <deva> | 2005-10-08 16:24:33 +0000 |
---|---|---|
committer | deva <deva> | 2005-10-08 16:24:33 +0000 |
commit | 1d30dc5da0c148982032a2b5a5bdece10b3e80ae (patch) | |
tree | 4e698b0a27d2cfb98c95a536f361ce1145f8a119 /src/threadsafe_queue_fifo.h | |
parent | 48775e1ce9eb0dd53908110454d068a8b16a66ec (diff) |
*** empty log message ***R0_3_0
Diffstat (limited to 'src/threadsafe_queue_fifo.h')
-rw-r--r-- | src/threadsafe_queue_fifo.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/threadsafe_queue_fifo.h b/src/threadsafe_queue_fifo.h index 9baf82e..ee3ac3b 100644 --- a/src/threadsafe_queue_fifo.h +++ b/src/threadsafe_queue_fifo.h @@ -29,20 +29,22 @@ #define __MIAV_THREADSAFE_QUEUE_FIFO_H__ #include "threadsafe_queue.h" + +#include "frame.h" + #include <queue> -template <typename T> -class ThreadSafeQueueFIFO: public ThreadSafeQueue<T> { +class ThreadSafeQueueFIFO: public ThreadSafeQueue<FrameVector*> { public: ThreadSafeQueueFIFO(); ~ThreadSafeQueueFIFO(); - void push(T t); - T pop(); + void push(FrameVector* framevector); + FrameVector* pop(); int size(); private: - std::queue<T> queue; + std::queue<FrameVector*> queue; }; #endif/*__MIAV_THREADSAFE_QUEUE_FIFO_H__*/ |