AAX SDK  2.4.1
Avid Audio Extensions Development Kit
AAX_VPrivateDataAccess.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 #ifndef AAX_VPRIVATEDATAACCESS_H
24 #define AAX_VPRIVATEDATAACCESS_H
25 
26 #include "AAX_IPrivateDataAccess.h"
28 #include "ACFPtr.h"
29 
30 
31 class IACFUnknown;
32 
38 {
39 public:
42 
43  // Direct access methods
44  AAX_Result ReadPortDirect( AAX_CFieldIndex inFieldIndex, const uint32_t inOffset, const uint32_t inSize, void* outBuffer ) AAX_OVERRIDE;
45  AAX_Result WritePortDirect( AAX_CFieldIndex inFieldIndex, const uint32_t inOffset, const uint32_t inSize, const void* inBuffer ) AAX_OVERRIDE;
46 
47 
48 private:
49  AAX_IACFPrivateDataAccess* mIPrivateDataAccess;
50 };
51 
52 
53 #endif //AAX_VPRIVATEDATAACCESS_H
54 
int32_t AAX_Result
Definition: AAX.h:337
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:141
AAX_CIndex AAX_CFieldIndex
Not used by AAX plug-ins (except in AAX_FIELD_INDEX macro)
Definition: AAX.h:349
Interface for the AAX host's data access functionality.
Interface to data access provided by host to plug-in.
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:248
Interface for the AAX host's data access functionality.
Definition: AAX_IACFPrivateDataAccess.h:43
Interface to data access provided by host to plug-in.
Definition: AAX_IPrivateDataAccess.h:46
Version-managed concrete AAX_IPrivateDataAccess class.
Definition: AAX_VPrivateDataAccess.h:38
AAX_VPrivateDataAccess(IACFUnknown *pUnknown)
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_OVERRIDE
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.