| 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_VPrivateDataAccess.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#ifndef AAX_VPRIVATEDATAACCESS_H
34#define AAX_VPRIVATEDATAACCESS_H
35
36#include "AAX_IPrivateDataAccess.h"
37#include "AAX_IACFPrivateDataAccess.h"
38#include "ACFPtr.h"
39
40
41 class IACFUnknown;
42
47 class AAX_VPrivateDataAccess : public AAX_IPrivateDataAccess
48{
49 public:
50 AAX_VPrivateDataAccess( IACFUnknown* pUnknown );
51 ~AAX_VPrivateDataAccess() AAX_OVERRIDE;
52
53 // Direct access methods
54 AAX_Result ReadPortDirect( AAX_CFieldIndex inFieldIndex, const uint32_t inOffset, const uint32_t inSize, void* outBuffer ) AAX_OVERRIDE;
55 AAX_Result WritePortDirect( AAX_CFieldIndex inFieldIndex, const uint32_t inOffset, const uint32_t inSize, const void* inBuffer ) AAX_OVERRIDE;
56
57
58private:
59 AAX_IACFPrivateDataAccess* mIPrivateDataAccess;
60};
61
62
63#endif //AAX_VPRIVATEDATAACCESS_H
64
AAX_IPrivateDataAccess.h
Interface to data access provided by host to plug-in.
AAX_Result
int32_t AAX_Result
Definition: AAX.h:347
AAX_OVERRIDE
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:164
AAX_CFieldIndex
AAX_CIndex AAX_CFieldIndex
Not used by AAX plug-ins (except in AAX_FIELD_INDEX macro)
Definition: AAX.h:359
AAX_IACFPrivateDataAccess.h
Interface for the AAX host's data access functionality.
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:265
AAX_IACFPrivateDataAccess
Interface for the AAX host's data access functionality.
Definition: AAX_IACFPrivateDataAccess.h:53
AAX_IPrivateDataAccess
Interface to data access provided by host to plug-in.
Definition: AAX_IPrivateDataAccess.h:56
AAX_VPrivateDataAccess
Version-managed concrete AAX_IPrivateDataAccess class.
Definition: AAX_VPrivateDataAccess.h:48
AAX_VPrivateDataAccess::AAX_VPrivateDataAccess
AAX_VPrivateDataAccess(IACFUnknown *pUnknown)
AAX_VPrivateDataAccess::ReadPortDirect
AAX_Result ReadPortDirect(AAX_CFieldIndex inFieldIndex, const uint32_t inOffset, const uint32_t inSize, void *outBuffer) AAX_OVERRIDE
Read data directly from DSP at the given port.
AAX_VPrivateDataAccess::~AAX_VPrivateDataAccess
~AAX_VPrivateDataAccess() AAX_OVERRIDE
AAX_VPrivateDataAccess::WritePortDirect
AAX_Result WritePortDirect(AAX_CFieldIndex inFieldIndex, const uint32_t inOffset, const uint32_t inSize, const void *inBuffer) AAX_OVERRIDE
Write data directly to DSP at the given port.