Wwise SDK 2023.1.4
AkFifoQueue< T, TDEFAULT, TAlloc > Struct Template Reference

#include <AkFifoQueue.h>

Inheritance diagram for AkFifoQueue< T, TDEFAULT, TAlloc >:
AkArrayAllocatorNoAlign< T_MEMID >

Public Member Functions

 AkFifoQueue ()
 ~AkFifoQueue ()
AKRESULT Init (AkUInt32 in_uMaxEntries)
void Term ()
AK_NODISCARD bool Enqueue (T in_value)
bool Dequeue (T &io_value)
bool Empty ()
 Checks if there is a value available to be dequeued. More...

Additional Inherited Members

- Static Public Member Functions inherited from AkArrayAllocatorNoAlign< T_MEMID >
static AkForceInline void * Alloc (size_t in_uSize)
static AkForceInline void * ReAlloc (void *in_pCurrent, size_t in_uOldSize, size_t in_uNewSize)
static AkForceInline void Free (void *in_pAddress)
static AkForceInline void TransferMem (void *&io_pDest, AkArrayAllocatorNoAlign< T_MEMID > in_srcAlloc, void *in_pSrc)

Detailed Description

template<typename T, T TDEFAULT, class TAlloc = ArrayPoolDefault>
struct AkFifoQueue< T, TDEFAULT, TAlloc >

AkFifoQueue is a lock-less, thread-safe, multi-producer-multi-consumer queue data structure. It is designed to hold copyable values.

Definition at line 37 of file AkFifoQueue.h.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise