VOX
A little voxel engine
Loading...
Searching...
No Matches
ThreadSafeQueue< T > Class Template Reference

#include <ThreadSafeQueue.hpp>

Collaboration diagram for ThreadSafeQueue< T >:
Collaboration graph

Public Member Functions

 ThreadSafeQueue ()
 
 ~ThreadSafeQueue ()
 
 ThreadSafeQueue (const ThreadSafeQueue &other)=delete
 
ThreadSafeQueueoperator= (const ThreadSafeQueue &other)=delete
 
 ThreadSafeQueue (ThreadSafeQueue &&other)
 
ThreadSafeQueueoperator= (ThreadSafeQueue &&other)
 
void push (const T &value)
 
void push (T &&value)
 
bool empty () const
 
size_t size () const
 
pop ()
 

Constructor & Destructor Documentation

◆ ThreadSafeQueue() [1/3]

template<typename T >
ThreadSafeQueue< T >::ThreadSafeQueue ( )
inline

◆ ~ThreadSafeQueue()

template<typename T >
ThreadSafeQueue< T >::~ThreadSafeQueue ( )
inline

◆ ThreadSafeQueue() [2/3]

template<typename T >
ThreadSafeQueue< T >::ThreadSafeQueue ( const ThreadSafeQueue< T > &  other)
delete

◆ ThreadSafeQueue() [3/3]

template<typename T >
ThreadSafeQueue< T >::ThreadSafeQueue ( ThreadSafeQueue< T > &&  other)
inline

Member Function Documentation

◆ empty()

template<typename T >
bool ThreadSafeQueue< T >::empty ( ) const
inline

◆ operator=() [1/2]

template<typename T >
ThreadSafeQueue & ThreadSafeQueue< T >::operator= ( const ThreadSafeQueue< T > &  other)
delete

◆ operator=() [2/2]

template<typename T >
ThreadSafeQueue & ThreadSafeQueue< T >::operator= ( ThreadSafeQueue< T > &&  other)
inline

◆ pop()

template<typename T >
T ThreadSafeQueue< T >::pop ( )
inline

◆ push() [1/2]

template<typename T >
void ThreadSafeQueue< T >::push ( const T &  value)
inline

◆ push() [2/2]

template<typename T >
void ThreadSafeQueue< T >::push ( T &&  value)
inline

◆ size()

template<typename T >
size_t ThreadSafeQueue< T >::size ( ) const
inline

The documentation for this class was generated from the following file: