UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FThreadsafeQueue< Type > Struct Template Reference

#include <D3D12Util.h>

Public Member Functions

const uint32 GetSize () const
 
void Enqueue (const Type &Item)
 
bool Dequeue (Type &Result)
 
template<typename CompareFunc >
bool Dequeue (Type &Result, const CompareFunc &Func)
 
template<typename ResultType , typename CompareFunc >
bool BatchDequeue (TArray< ResultType > &Result, const CompareFunc &Func, uint32 MaxItems)
 
bool Peek (Type &Result)
 
bool IsEmpty ()
 
void Empty ()
 

Detailed Description

template<class Type>
struct FThreadsafeQueue< Type >

The base class of threadsafe reference counted objects.

Member Function Documentation

◆ BatchDequeue()

template<class Type >
template<typename ResultType , typename CompareFunc >
bool FThreadsafeQueue< Type >::BatchDequeue ( TArray< ResultType > &  Result,
const CompareFunc &  Func,
uint32  MaxItems 
)
inline

◆ Dequeue() [1/2]

template<class Type >
bool FThreadsafeQueue< Type >::Dequeue ( Type &  Result)
inline

◆ Dequeue() [2/2]

template<class Type >
template<typename CompareFunc >
bool FThreadsafeQueue< Type >::Dequeue ( Type &  Result,
const CompareFunc &  Func 
)
inline

◆ Empty()

template<class Type >
void FThreadsafeQueue< Type >::Empty ( )
inline

◆ Enqueue()

template<class Type >
void FThreadsafeQueue< Type >::Enqueue ( const Type &  Item)
inline

◆ GetSize()

template<class Type >
const uint32 FThreadsafeQueue< Type >::GetSize ( ) const
inline

◆ IsEmpty()

template<class Type >
bool FThreadsafeQueue< Type >::IsEmpty ( )
inline

◆ Peek()

template<class Type >
bool FThreadsafeQueue< Type >::Peek ( Type &  Result)
inline

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