AAX SDK  2.4.1
Avid Audio Extensions Development Kit
AAX_VAutomationDelegate.h
Go to the documentation of this file.
1 /*================================================================================================*/
2 /*
3  *
4  * Copyright 2014-2017, 2019 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 #ifndef AAX_VAUTOMATIONDELEGATE_H
25 #define AAX_VAUTOMATIONDELEGATE_H
26 
29 #include "ACFPtr.h"
30 
32 class IACFUnknown;
33 
39 {
40 public:
43 
44  IACFUnknown* GetUnknown() const { return mIAutomationDelegate; }
45 
48  AAX_Result PostSetValueRequest ( AAX_CParamID iParameterID, double iNormalizedValue ) const AAX_OVERRIDE;
49  AAX_Result PostCurrentValue ( AAX_CParamID iParameterID, double iNormalizedValue ) const AAX_OVERRIDE;
53 
54 private:
55  ACFPtr<AAX_IACFAutomationDelegate> mIAutomationDelegate;
56 };
57 
58 
59 
60 #endif //AAX_IAUTOMATIONDELEGATE_H
const char * AAX_CParamID
Parameter identifier.
Definition: AAX.h:352
int32_t AAX_Result
Definition: AAX.h:337
uint8_t AAX_CBoolean
Cross-compiler boolean type used by AAX interfaces.
Definition: AAX.h:329
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:141
Versioned interface allowing an AAX plug-in to interact with the host's automation system.
Interface allowing an AAX plug-in to interact with the host's automation system.
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:248
Versioned interface allowing an AAX plug-in to interact with the host's automation system.
Definition: AAX_IACFAutomationDelegate.h:44
Interface allowing an AAX plug-in to interact with the host's event system.
Definition: AAX_IAutomationDelegate.h:47
Version-managed concrete automation delegate class.
Definition: AAX_VAutomationDelegate.h:39
~AAX_VAutomationDelegate() AAX_OVERRIDE
AAX_Result PostReleaseRequest(AAX_CParamID iParameterID) AAX_OVERRIDE
AAX_Result PostTouchRequest(AAX_CParamID iParameterID) AAX_OVERRIDE
AAX_Result UnregisterParameter(AAX_CParamID iParameterID) AAX_OVERRIDE
AAX_Result PostCurrentValue(AAX_CParamID iParameterID, double iNormalizedValue) const AAX_OVERRIDE
AAX_Result GetTouchState(AAX_CParamID iParameterID, AAX_CBoolean *outTouched) AAX_OVERRIDE
AAX_VAutomationDelegate(IACFUnknown *pUnknown)
IACFUnknown * GetUnknown() const
Definition: AAX_VAutomationDelegate.h:44
AAX_Result RegisterParameter(AAX_CParamID iParameterID) AAX_OVERRIDE
AAX_Result PostSetValueRequest(AAX_CParamID iParameterID, double iNormalizedValue) const AAX_OVERRIDE