AAX SDK 2.6.1
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 Avid Technology, Inc.
5 * All rights reserved.
6 *
7 * CONFIDENTIAL: this document contains confidential information of Avid. Do
8 * not disclose to any third party. Use of the information contained in this
9 * document is subject to an Avid SDK license.
10 *
11 */
12
19/*================================================================================================*/
20
21
22#ifndef AAX_ITAPERDELEGATE_H
23#define AAX_ITAPERDELEGATE_H
24
25
26
70{
71public:
77};
78
84template <typename T>
86{
87public:
101 virtual AAX_ITaperDelegate* Clone() const = 0;
102
106 virtual T GetMaximumValue() const = 0;
107
111 virtual T GetMinimumValue() const = 0;
112
124 virtual T ConstrainRealValue(T value) const = 0;
125
136 virtual T NormalizedToReal(double normalizedValue) const = 0;
137
148 virtual double RealToNormalized(T realValue) const = 0;
149};
150
151
152
153#endif //AAX_ITAPERDELEGATE_H
Defines the taper conversion behavior for a parameter.
Definition: AAX_ITaperDelegate.h:70
virtual ~AAX_ITaperDelegateBase()
Virtual destructor.
Definition: AAX_ITaperDelegate.h:76
Definition: AAX_ITaperDelegate.h:86
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.