![]() |
AAX SDK 2.8.0
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. | |
| typedef T * | value_type |
| The type of values stored in this queue. | |
Public Types inherited from AAX_IContainer | |
| 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 |
Public Member Functions inherited from AAX_IContainer | |
| virtual | ~AAX_IContainer () |
| virtual void | Clear ()=0 |
| 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 >.
|
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 >.
1.9.6