![]() |
AAX SDK
2.4.1
Avid Audio Extensions Development Kit
|
#include <AAX_IPointerQueue.h>
Abstract interface for a basic FIFO queue of pointers-to-objects
Public Types | |
typedef T | template_type |
The type used for this template instance. More... | |
typedef T * | value_type |
The type of values stored in this queue. More... | |
![]() | |
enum | EStatus { eStatus_Success = 0 , eStatus_Overflow = 1 , eStatus_NotInitialized = 2 , eStatus_Unavailable = 3 , eStatus_Unsupported = 4 } |
Public Member Functions | |
virtual | ~AAX_IPointerQueue () |
virtual void | Clear ()=0 |
virtual AAX_IContainer::EStatus | Push (value_type inElem)=0 |
virtual value_type | Pop ()=0 |
virtual value_type | Peek () const =0 |
![]() | |
virtual | ~AAX_IContainer () |
typedef T AAX_IPointerQueue< T >::template_type |
The type used for this template instance.
typedef T* AAX_IPointerQueue< T >::value_type |
The type of values stored in this queue.
|
inlinevirtual |
|
pure virtual |
Implements AAX_IContainer.
Implemented in AAX_CAtomicQueue< T, S >, AAX_CAtomicQueue< TNumberedParamStateList, 256 >, and AAX_CAtomicQueue< const TParamValPair, 16 *kSynchronizedParameterQueueSize >.
|
pure virtual |
Push an element onto the queue
Call from: Write thread
Implemented in AAX_CAtomicQueue< T, S >, AAX_CAtomicQueue< TNumberedParamStateList, 256 >, and AAX_CAtomicQueue< const TParamValPair, 16 *kSynchronizedParameterQueueSize >.
|
pure virtual |
Pop the front element from the queue
Call from: Read thread
NULL
if no element is available Implemented in AAX_CAtomicQueue< T, S >, AAX_CAtomicQueue< TNumberedParamStateList, 256 >, and AAX_CAtomicQueue< const TParamValPair, 16 *kSynchronizedParameterQueueSize >.
|
pure virtual |
Get the current top element without popping it off of the queue
Call from: Read thread
Implemented in AAX_CAtomicQueue< T, S >, AAX_CAtomicQueue< TNumberedParamStateList, 256 >, and AAX_CAtomicQueue< const TParamValPair, 16 *kSynchronizedParameterQueueSize >.