HiveMindBridge
IThreadSafeQueue.h
Go to the documentation of this file.
1 #ifndef HIVE_MIND_BRIDGE_ITHREADSAFEQUEUE_H
2 #define HIVE_MIND_BRIDGE_ITHREADSAFEQUEUE_H
3 
4 template <class T>
6  public:
7  virtual void push(const T& item) = 0;
8 
9  virtual void pop() = 0;
10 
11  virtual T front() = 0;
12 
13  virtual T back() = 0;
14 
15  virtual size_t size() = 0;
16 
17  virtual bool empty() = 0;
18 };
19 
20 #endif // HIVE_MIND_BRIDGE_ITHREADSAFEQUEUE_H
IThreadSafeQueue::pop
virtual void pop()=0
IThreadSafeQueue
Definition: IThreadSafeQueue.h:5
IThreadSafeQueue::empty
virtual bool empty()=0
IThreadSafeQueue::size
virtual size_t size()=0
IThreadSafeQueue::push
virtual void push(const T &item)=0
IThreadSafeQueue::front
virtual T front()=0
IThreadSafeQueue::back
virtual T back()=0