| AAX SDK 2.6.1 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 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
69 class AAX_ITaperDelegateBase
70{
71 public:
76 virtual ~AAX_ITaperDelegateBase() { }
77};
78
84 template <typename T>
85 class AAX_ITaperDelegate : public AAX_ITaperDelegateBase
86{
87 public:
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
AAX_ITaperDelegateBase
Defines the taper conversion behavior for a parameter.
Definition: AAX_ITaperDelegate.h:70
AAX_ITaperDelegateBase::~AAX_ITaperDelegateBase
virtual ~AAX_ITaperDelegateBase()
Virtual destructor.
Definition: AAX_ITaperDelegate.h:76
AAX_ITaperDelegate
Definition: AAX_ITaperDelegate.h:86
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.