| AAX SDK 2.8.0 Avid Audio Extensions Development Kit

- Welcome
- Manual
- Classes
- Files
- Lists
- Support

- File List
- File Members

Loading...
Searching...
No Matches
AAX_VAutomationDelegate.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 *
4 * Copyright 2014-2017, 2019, 2023-2024 Avid Technology, Inc.
5 * All rights reserved.
6 *
7 * This file is part of the Avid AAX SDK.
8 *
9 * The AAX SDK is subject to commercial or open-source licensing.
10 *
11 * By using the AAX SDK, you agree to the terms of both the Avid AAX SDK License
12 * Agreement and Avid Privacy Policy.
13 *
14 * AAX SDK License: https://developer.avid.com/aax
15 * Privacy Policy: https://www.avid.com/legal/privacy-policy-statement
16 *
17 * Or: You may also use this code under the terms of the GPL v3 (see
18 * www.gnu.org/licenses).
19 *
20 * THE AAX SDK IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
21 * EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
22 * DISCLAIMED.
23 *
24 */
25
32/*================================================================================================*/
33
34#ifndef AAX_VAUTOMATIONDELEGATE_H
35#define AAX_VAUTOMATIONDELEGATE_H
36
37#include "AAX_IAutomationDelegate.h"
38#include "AAX_IACFAutomationDelegate.h"
39#include "ACFPtr.h"
40
41 class AAX_IACFAutomationDelegate;
42 class AAX_IACFController_V2;
43 class IACFUnknown;
44
49 class AAX_VAutomationDelegate : public AAX_IAutomationDelegate
50{
51 public:
52 AAX_VAutomationDelegate( IACFUnknown * pUnknown );
53 ~AAX_VAutomationDelegate() AAX_OVERRIDE;
54
55 IACFUnknown* GetUnknown() const { return mIAutomationDelegate; }
56
57 AAX_Result RegisterParameter ( AAX_CParamID iParameterID ) AAX_OVERRIDE;
58 AAX_Result UnregisterParameter ( AAX_CParamID iParameterID ) AAX_OVERRIDE;
59 AAX_Result PostSetValueRequest ( AAX_CParamID iParameterID, double iNormalizedValue ) const AAX_OVERRIDE;
60 AAX_Result PostCurrentValue ( AAX_CParamID iParameterID, double iNormalizedValue ) const AAX_OVERRIDE;
61 AAX_Result PostTouchRequest ( AAX_CParamID iParameterID ) AAX_OVERRIDE;
62 AAX_Result PostReleaseRequest ( AAX_CParamID iParameterID ) AAX_OVERRIDE;
63 AAX_Result GetTouchState ( AAX_CParamID iParameterID, AAX_CBoolean * outTouched ) AAX_OVERRIDE;
64 AAX_Result ParameterNameChanged ( AAX_CParamID iParameterID ) AAX_OVERRIDE;
65
66 private:
67 ACFPtr<AAX_IACFAutomationDelegate> mIAutomationDelegate;
68 ACFPtr<AAX_IACFController_V2> mIController;
69};
70
71
72
73#endif //AAX_IAUTOMATIONDELEGATE_H
AAX_IAutomationDelegate.h
Interface allowing an AAX plug-in to interact with the host's automation system.
AAX_CParamID
const char * AAX_CParamID
Parameter identifier.
Definition: AAX.h:362
AAX_Result
int32_t AAX_Result
Definition: AAX.h:347
AAX_CBoolean
uint8_t AAX_CBoolean
Cross-compiler boolean type used by AAX interfaces.
Definition: AAX.h:339
AAX_OVERRIDE
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:164
AAX_IACFAutomationDelegate.h
Versioned interface allowing an AAX plug-in to interact with the host's automation system.
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:265
AAX_IACFAutomationDelegate
Versioned interface allowing an AAX plug-in to interact with the host's automation system.
Definition: AAX_IACFAutomationDelegate.h:54
AAX_IACFController_V2
Interface for the AAX host's view of a single instance of an effect. Used by both clients of the AAXH...
Definition: AAX_IACFController.h:180
AAX_IAutomationDelegate
Interface allowing an AAX plug-in to interact with the host's event system.
Definition: AAX_IAutomationDelegate.h:57
AAX_VAutomationDelegate
Version-managed concrete automation delegate class.
Definition: AAX_VAutomationDelegate.h:50
AAX_VAutomationDelegate::~AAX_VAutomationDelegate
~AAX_VAutomationDelegate() AAX_OVERRIDE
AAX_VAutomationDelegate::GetUnknown
IACFUnknown * GetUnknown() const
Definition: AAX_VAutomationDelegate.h:55
AAX_VAutomationDelegate::PostReleaseRequest
AAX_Result PostReleaseRequest(AAX_CParamID iParameterID) AAX_OVERRIDE
AAX_VAutomationDelegate::PostTouchRequest
AAX_Result PostTouchRequest(AAX_CParamID iParameterID) AAX_OVERRIDE
AAX_VAutomationDelegate::UnregisterParameter
AAX_Result UnregisterParameter(AAX_CParamID iParameterID) AAX_OVERRIDE
AAX_VAutomationDelegate::PostCurrentValue
AAX_Result PostCurrentValue(AAX_CParamID iParameterID, double iNormalizedValue) const AAX_OVERRIDE
AAX_VAutomationDelegate::GetTouchState
AAX_Result GetTouchState(AAX_CParamID iParameterID, AAX_CBoolean *outTouched) AAX_OVERRIDE
AAX_VAutomationDelegate::AAX_VAutomationDelegate
AAX_VAutomationDelegate(IACFUnknown *pUnknown)
AAX_VAutomationDelegate::RegisterParameter
AAX_Result RegisterParameter(AAX_CParamID iParameterID) AAX_OVERRIDE
AAX_VAutomationDelegate::PostSetValueRequest
AAX_Result PostSetValueRequest(AAX_CParamID iParameterID, double iNormalizedValue) const AAX_OVERRIDE
AAX_VAutomationDelegate::ParameterNameChanged
AAX_Result ParameterNameChanged(AAX_CParamID iParameterID) AAX_OVERRIDE