AAX SDK 2.8.0
Avid Audio Extensions Development Kit
Loading...
Searching...
No Matches
AAX_IPointerQueue.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 * Copyright 2015, 2018, 2023-2024 Avid Technology, Inc.
4 * All rights reserved.
5 *
6 * This file is part of the Avid AAX SDK.
7 *
8 * The AAX SDK is subject to commercial or open-source licensing.
9 *
10 * By using the AAX SDK, you agree to the terms of both the Avid AAX SDK License
11 * Agreement and Avid Privacy Policy.
12 *
13 * AAX SDK License: https://developer.avid.com/aax
14 * Privacy Policy: https://www.avid.com/legal/privacy-policy-statement
15 *
16 * Or: You may also use this code under the terms of the GPL v3 (see
17 * www.gnu.org/licenses).
18 *
19 * THE AAX SDK IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 * EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21 * DISCLAIMED.
22 *
23 */
24
31/*================================================================================================*/
33#ifndef AAX_IPOINTERQUEUE_H
34#define AAX_IPOINTERQUEUE_H
36
37// AAX Includes
38#include "AAX_IContainer.h"
39
40
43template <typename T>
45{
46public:
47 virtual ~AAX_IPointerQueue() {}
48
49public:
50 typedef T template_type;
51 typedef T* value_type;
52
53public: // AAX_IContainer
60 virtual void Clear() = 0;
61
62public: // AAX_IPointerQueue
76 virtual value_type Pop() = 0;
83 virtual value_type Peek() const = 0;
84};
85
86
88#endif /* defined(AAX_IPOINTERQUEUE_H) */
Abstract container interface.
Definition: AAX_IContainer.h:42
EStatus
Definition: AAX_IContainer.h:48
Definition: AAX_IPointerQueue.h:45
virtual value_type Peek() const =0
T * value_type
The type of values stored in this queue.
Definition: AAX_IPointerQueue.h:51
virtual void Clear()=0
virtual value_type Pop()=0
virtual ~AAX_IPointerQueue()
Definition: AAX_IPointerQueue.h:47
virtual AAX_IContainer::EStatus Push(value_type inElem)=0
T template_type
The type used for this template instance.
Definition: AAX_IPointerQueue.h:50