AAX SDK  2.4.1
Avid Audio Extensions Development Kit
AAX_ITaperDelegate.h
Go to the documentation of this file.
1 /*================================================================================================*/
2 /*
3  *
4  * Copyright 2014-2015 by Avid Technology, Inc.
5  * All rights reserved.
6  *
7  * CONFIDENTIAL: This document contains confidential information. Do not
8  * read or examine this document unless you are an Avid Technology employee
9  * or have signed a non-disclosure agreement with Avid Technology which protects
10  * the confidentiality of this document. DO NOT DISCLOSE ANY INFORMATION
11  * CONTAINED IN THIS DOCUMENT TO ANY THIRD-PARTY WITHOUT THE PRIOR WRITTEN CONSENT
12  * OF Avid Technology, INC.
13  *
14  */
15 
22 /*================================================================================================*/
23 
24 
25 #ifndef AAX_ITAPERDELEGATE_H
26 #define AAX_ITAPERDELEGATE_H
27 
28 
29 
73 {
74 public:
80 };
81 
87 template <typename T>
89 {
90 public:
104  virtual AAX_ITaperDelegate* Clone() const = 0;
105 
109  virtual T GetMaximumValue() const = 0;
110 
114  virtual T GetMinimumValue() const = 0;
115 
127  virtual T ConstrainRealValue(T value) const = 0;
128 
139  virtual T NormalizedToReal(double normalizedValue) const = 0;
140 
151  virtual double RealToNormalized(T realValue) const = 0;
152 };
153 
154 
155 
156 #endif //AAX_ITAPERDELEGATE_H
Defines the taper conversion behavior for a parameter.
Definition: AAX_ITaperDelegate.h:73
virtual ~AAX_ITaperDelegateBase()
Virtual destructor.
Definition: AAX_ITaperDelegate.h:79
Classes for conversion to and from normalized parameter values.
Definition: AAX_ITaperDelegate.h:89
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.