AAX SDK  2.1.1
Avid Audio Extensions Development Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AAX_VAutomationDelegate.h
Go to the documentation of this file.
1 // **************************************************************************************
2 // FILE: AAX_VAutomationDelegate.h
3 //
4 // Copyright(C) 2010 Avid Technology, Inc.
5 // All rights reserved
6 //
7 // CONFIDENTIAL: This document contains confidential information.
8 // Do not disclose any information contained in this document to any
9 // third-party without the prior written consent of Avid Technology, Inc.
10 //
11 // **************************************************************************************
12 
13 #ifndef AAX_VAUTOMATIONDELEGATE_H
14 #define AAX_VAUTOMATIONDELEGATE_H
15 
18 #include "ACFPtr.h"
19 
21 class IACFUnknown;
22 
28 {
29 public:
31  virtual ~AAX_VAutomationDelegate();
32 
33  IACFUnknown* GetUnknown() const { return mIAutomationDelegate; }
34 
35  AAX_Result RegisterParameter ( AAX_CParamID iParameterID );
37  AAX_Result PostSetValueRequest ( AAX_CParamID iParameterID, double iNormalizedValue ) const;
38  AAX_Result PostCurrentValue ( AAX_CParamID iParameterID, double iNormalizedValue ) const;
39  AAX_Result PostTouchRequest ( AAX_CParamID iParameterID );
41  AAX_Result GetTouchState ( AAX_CParamID iParameterID, AAX_CBoolean * outTouched );
42 
43 private:
44  ACFPtr<AAX_IACFAutomationDelegate> mIAutomationDelegate;
45 };
46 
47 
48 
49 #endif //AAX_IAUTOMATIONDELEGATE_H
IACFUnknown * GetUnknown() const
Definition: AAX_VAutomationDelegate.h:33
AAX_Result UnregisterParameter(AAX_CParamID iParameterID)
AAX_Result PostSetValueRequest(AAX_CParamID iParameterID, double iNormalizedValue) const
Versioned interface allowing an AAX plug-in to interact with the host&#39;s automation system...
uint8_t AAX_CBoolean
Cross-compiler boolean type used by AAX interfaces.
Definition: AAX.h:110
Interface allowing an AAX plug-in to interact with the host&#39;s automation system.
AAX_Result PostCurrentValue(AAX_CParamID iParameterID, double iNormalizedValue) const
Versioned interface allowing an AAX plug-in to interact with the host&#39;s automation system...
Definition: AAX_IACFAutomationDelegate.h:42
AAX_VAutomationDelegate(IACFUnknown *pUnknown)
Interface allowing an AAX plug-in to interact with the host&#39;s event system.
Definition: AAX_IAutomationDelegate.h:46
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.dox:231
int32_t AAX_Result
Definition: AAX.h:118
AAX_Result RegisterParameter(AAX_CParamID iParameterID)
virtual ~AAX_VAutomationDelegate()
AAX_Result PostReleaseRequest(AAX_CParamID iParameterID)
AAX_Result GetTouchState(AAX_CParamID iParameterID, AAX_CBoolean *outTouched)
const char * AAX_CParamID
Parameter identifier.
Definition: AAX.h:128
AAX_Result PostTouchRequest(AAX_CParamID iParameterID)
Version-managed concrete automation delegate class.
Definition: AAX_VAutomationDelegate.h:27