summaryrefslogtreecommitdiff
path: root/src/threadsafe_queue_fifo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/threadsafe_queue_fifo.h')
-rw-r--r--src/threadsafe_queue_fifo.h12
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__*/