AAX SDK  2.1.1
Avid Audio Extensions Development Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AAX_IACFAutomationDelegate.h
Go to the documentation of this file.
1 /*================================================================================================*/
2 /*
3  *
4  * Copyright 2013 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 Technolgy, INC.
13  *
14  */
15 
22 /*================================================================================================*/
23 
24 
25 #ifndef AAX_IACFAUTOMATIONDELEGATE_H
26 #define AAX_IACFAUTOMATIONDELEGATE_H
27 
28 #include "AAX.h"
29 
30 #ifdef __clang__
31 #pragma clang diagnostic push
32 #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
33 #endif
34 
35 #include "acfunknown.h"
36 
43 {
44 public:
45 
51  virtual AAX_Result RegisterParameter ( AAX_CParamID iParameterID ) = 0;
52 
59  virtual AAX_Result UnregisterParameter ( AAX_CParamID iParameterID ) = 0;
60 
61 
67  virtual AAX_Result PostSetValueRequest ( AAX_CParamID iParameterID, double normalizedValue ) const = 0;
68 
74  virtual AAX_Result PostCurrentValue( AAX_CParamID iParameterID, double normalizedValue ) const = 0;
75 
78  virtual AAX_Result PostTouchRequest( AAX_CParamID iParameterID ) = 0;
79 
82  virtual AAX_Result PostReleaseRequest( AAX_CParamID iParameterID ) = 0;
83 
86  virtual AAX_Result GetTouchState ( AAX_CParamID iParameterID, AAX_CBoolean * oTouched )= 0;
87 };
88 
89 #ifdef __clang__
90 #pragma clang diagnostic pop
91 #endif
92 
93 #endif // AAX_IACFAUTOMATIONDELEGATE_H
Various utility definitions for AAX.
virtual AAX_Result PostReleaseRequest(AAX_CParamID iParameterID)=0
Sends a Release token out.
uint8_t AAX_CBoolean
Cross-compiler boolean type used by AAX interfaces.
Definition: AAX.h:110
Versioned interface allowing an AAX plug-in to interact with the host's automation system...
Definition: AAX_IACFAutomationDelegate.h:42
virtual AAX_Result PostTouchRequest(AAX_CParamID iParameterID)=0
Sends a Touch token out.
virtual AAX_Result UnregisterParameter(AAX_CParamID iParameterID)=0
Unregister a control with the automation system using a char* based control identifier.
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.dox:231
int32_t AAX_Result
Definition: AAX.h:118
virtual AAX_Result PostSetValueRequest(AAX_CParamID iParameterID, double normalizedValue) const =0
Sends a Set token out to request that a value be changed.
virtual AAX_Result RegisterParameter(AAX_CParamID iParameterID)=0
Register a control with the automation system using a char* based control identifier.
virtual AAX_Result GetTouchState(AAX_CParamID iParameterID, AAX_CBoolean *oTouched)=0
Gets the touched state of the parameter.
virtual AAX_Result PostCurrentValue(AAX_CParamID iParameterID, double normalizedValue) const =0
Sends a Current Value token out to notify everyone that a value has changed.
const char * AAX_CParamID
Parameter identifier.
Definition: AAX.h:128