AAX SDK 2.8.0
Avid Audio Extensions Development Kit
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
83{
84public:
90};
91
97template <typename T>
99{
100public:
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
Defines the taper conversion behavior for a parameter.
Definition: AAX_ITaperDelegate.h:83
virtual ~AAX_ITaperDelegateBase()
Virtual destructor.
Definition: AAX_ITaperDelegate.h:89
Definition: AAX_ITaperDelegate.h:99
virtual T NormalizedToReal(double normalizedValue) const =0
Converts a normalized value to a real value.
virtual T ConstrainRealValue(T value) const =0
Applies a contraint to the value and returns the constrained value.
virtual AAX_ITaperDelegate * Clone() const =0
Constructs and returns a copy of the taper delegate.
virtual T GetMaximumValue() const =0
Returns the taper's maximum real value.
virtual double RealToNormalized(T realValue) const =0
Normalizes a real parameter value.
virtual T GetMinimumValue() const =0
Returns the taper's minimum real value.