| 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_ITaperDelegate.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 *
4 * Copyright 2014-2015, 2023-2024 Avid Technology, Inc.
5 * All rights reserved.
6 *
7 * This file is part of the Avid AAX SDK.
8 *
9 * The AAX SDK is subject to commercial or open-source licensing.
10 *
11 * By using the AAX SDK, you agree to the terms of both the Avid AAX SDK License
12 * Agreement and Avid Privacy Policy.
13 *
14 * AAX SDK License: https://developer.avid.com/aax
15 * Privacy Policy: https://www.avid.com/legal/privacy-policy-statement
16 *
17 * Or: You may also use this code under the terms of the GPL v3 (see
18 * www.gnu.org/licenses).
19 *
20 * THE AAX SDK IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
21 * EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
22 * DISCLAIMED.
23 *
24 */
25
32/*================================================================================================*/
33
34
35#ifndef AAX_ITAPERDELEGATE_H
36#define AAX_ITAPERDELEGATE_H
37
38
39
82 class AAX_ITaperDelegateBase
83{
84 public:
89 virtual ~AAX_ITaperDelegateBase() { }
90};
91
97 template <typename T>
98 class AAX_ITaperDelegate : public AAX_ITaperDelegateBase
99{
100 public:
114 virtual AAX_ITaperDelegate* Clone() const = 0;
115
119 virtual T GetMaximumValue() const = 0;
120
124 virtual T GetMinimumValue() const = 0;
125
137 virtual T ConstrainRealValue(T value) const = 0;
138
149 virtual T NormalizedToReal(double normalizedValue) const = 0;
150
161 virtual double RealToNormalized(T realValue) const = 0;
162};
163
164
165
166#endif //AAX_ITAPERDELEGATE_H
AAX_ITaperDelegateBase
Defines the taper conversion behavior for a parameter.
Definition: AAX_ITaperDelegate.h:83
AAX_ITaperDelegateBase::~AAX_ITaperDelegateBase
virtual ~AAX_ITaperDelegateBase()
Virtual destructor.
Definition: AAX_ITaperDelegate.h:89
AAX_ITaperDelegate
Definition: AAX_ITaperDelegate.h:99
AAX_ITaperDelegate::NormalizedToReal
virtual T NormalizedToReal(double normalizedValue) const =0
Converts a normalized value to a real value.
AAX_ITaperDelegate::ConstrainRealValue
virtual T ConstrainRealValue(T value) const =0
Applies a contraint to the value and returns the constrained value.
AAX_ITaperDelegate::Clone
virtual AAX_ITaperDelegate * Clone() const =0
Constructs and returns a copy of the taper delegate.
AAX_ITaperDelegate::GetMaximumValue
virtual T GetMaximumValue() const =0
Returns the taper's maximum real value.
AAX_ITaperDelegate::RealToNormalized
virtual double RealToNormalized(T realValue) const =0
Normalizes a real parameter value.
AAX_ITaperDelegate::GetMinimumValue
virtual T GetMinimumValue() const =0
Returns the taper's minimum real value.