| AAX SDK 2.8.0 Avid Audio Extensions Development Kit

- Welcome
- Manual
- Classes
- Files
- Lists
- Support

- File List
- File Members

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
43 template <typename T>
44 class AAX_IPointerQueue : public AAX_IContainer
45{
46 public:
47 virtual ~AAX_IPointerQueue() {}
48
49 public:
50 typedef T template_type;
51 typedef T* value_type;
52
53 public: // AAX_IContainer
60 virtual void Clear() = 0;
61
62 public: // AAX_IPointerQueue
69 virtual AAX_IContainer::EStatus Push(value_type inElem) = 0;
76 virtual value_type Pop() = 0;
83 virtual value_type Peek() const = 0;
84};
85
86
88#endif /* defined(AAX_IPOINTERQUEUE_H) */
AAX_IContainer.h
Abstract container interface.
AAX_IContainer
Definition: AAX_IContainer.h:42
AAX_IContainer::EStatus
EStatus
Definition: AAX_IContainer.h:48
AAX_IPointerQueue
Definition: AAX_IPointerQueue.h:45
AAX_IPointerQueue::Peek
virtual value_type Peek() const =0
AAX_IPointerQueue::value_type
T * value_type
The type of values stored in this queue.
Definition: AAX_IPointerQueue.h:51
AAX_IPointerQueue::Clear
virtual void Clear()=0
AAX_IPointerQueue::Pop
virtual value_type Pop()=0
AAX_IPointerQueue::~AAX_IPointerQueue
virtual ~AAX_IPointerQueue()
Definition: AAX_IPointerQueue.h:47
AAX_IPointerQueue::Push
virtual AAX_IContainer::EStatus Push(value_type inElem)=0
AAX_IPointerQueue::template_type
T template_type
The type used for this template instance.
Definition: AAX_IPointerQueue.h:50