17 #ifndef COM_BORA_SOFTWARE__BALAU_CONTAINER__QUEUE 18 #define COM_BORA_SOFTWARE__BALAU_CONTAINER__QUEUE 27 template <
typename T>
class Queue {
31 public:
virtual void enqueue(T && element) = 0;
39 public:
virtual T
dequeue() = 0;
44 public:
virtual bool empty()
const = 0;
49 #endif // COM_BORA_SOFTWARE__BALAU_CONTAINER__QUEUE Base interface for queues.
Definition: Queue.hpp:27
virtual T dequeue()=0
Dequeue an object.
Various container classes, apart from interprocess containers.
Definition: ArrayBlockingQueue.hpp:25
virtual bool empty() const =0
Returns true if the queue is empty.
virtual void enqueue(T &&element)=0
Enqueue an object, moving the supplied element.