Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
#include <assetmanager.h>
Public Member Functions | |
ThreadsafeQueue ()=default | |
ThreadsafeQueue (const ThreadsafeQueue< T > &)=delete | |
ThreadsafeQueue & | operator= (const ThreadsafeQueue< T > &)=delete |
ThreadsafeQueue (ThreadsafeQueue< T > &&other) | |
virtual | ~ThreadsafeQueue () |
unsigned long | size () const |
std::optional< T > | pop () |
void | push (const T &item) |
Private Member Functions | |
bool | empty () const |
Private Attributes | |
std::queue< T > | queue_ |
std::mutex | mutex_ |
Queue to hold the asset prototypes.
|
default |
|
delete |
|
inline |
|
inlinevirtual |
|
inlineprivate |
|
delete |
|
inline |
|
inline |
|
inline |
|
mutableprivate |
|
private |