27 DELETE_COPY_MOVE_OPERATIONS(
TsQueue)
43 const T&
Back()
const;
47 void Push(
const T& item);
70 std::mutex m_QueueMutex;
72 std::queue<T> m_Queue;
76 #include "Mountain/utils/ts_queue.inl" T & Front()
Gets a reference to the front item in the queue.
void Push(const T &item)
Pushes a new item on the back of the queue by copying it.
TsQueue()=default
Default constructs a TsQueue.
void Clear()
Clears the queue.
~TsQueue()=default
Default destructs the TsQueue.
size_t Count()
Get the number of items in the queue.
T Pop()
Pops the item on the front of the queue.
bool Empty()
Checks if the queue is empty.
T & Back()
Gets a reference to the back item in the queue.
Contains all declarations of the Mountain Framework.