| 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_VDataBufferWrapper.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 *
4 * Copyright 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
29/*================================================================================================*/
30
31#pragma once
32#ifndef AAX_VDATABUFFERWRAPPER_H
33#define AAX_VDATABUFFERWRAPPER_H
34
35#include "AAX_IDataBufferWrapper.h"
36#include "ACFPtr.h"
37
38 class IACFUnknown;
39 class AAX_IACFDataBuffer;
40
52 class AAX_VDataBufferWrapper : public AAX_IDataBufferWrapper
53{
54 public:
55 explicit AAX_VDataBufferWrapper(IACFUnknown * iUnknown);
56 ~AAX_VDataBufferWrapper() AAX_OVERRIDE;
57
58 AAX_Result Type(AAX_CTypeID * oType) const AAX_OVERRIDE;
59 AAX_Result Size(int32_t * oSize) const AAX_OVERRIDE;
60 AAX_Result Data(void const ** oBuffer) const AAX_OVERRIDE;
61
62private:
63 ACFPtr<AAX_IACFDataBuffer> mDataBufferV1;
64};
65
66#endif // AAX_VDATABUFFERWRAPPER_H
AAX_Result
int32_t AAX_Result
Definition: AAX.h:347
AAX_OVERRIDE
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:164
AAX_CTypeID
uint32_t AAX_CTypeID
Matches type of OSType used in classic plugins.
Definition: AAX.h:346
AAX_IDataBufferWrapper.h
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:265
AAX_IACFDataBuffer
Versioned interface for reference counted data buffers.
Definition: AAX_IACFDataBuffer.h:54
AAX_IDataBufferWrapper
Wrapper for an AAX_IDataBuffer.
Definition: AAX_IDataBufferWrapper.h:49
AAX_VDataBufferWrapper
Wrapper for an AAX_IDataBuffer.
Definition: AAX_VDataBufferWrapper.h:53
AAX_VDataBufferWrapper::~AAX_VDataBufferWrapper
~AAX_VDataBufferWrapper() AAX_OVERRIDE
AAX_VDataBufferWrapper::AAX_VDataBufferWrapper
AAX_VDataBufferWrapper(IACFUnknown *iUnknown)
AAX_VDataBufferWrapper::Type
AAX_Result Type(AAX_CTypeID *oType) const AAX_OVERRIDE
AAX_VDataBufferWrapper::Size
AAX_Result Size(int32_t *oSize) const AAX_OVERRIDE
AAX_VDataBufferWrapper::Data
AAX_Result Data(void const **oBuffer) const AAX_OVERRIDE