AAX SDK 2.6.1
Avid Audio Extensions Development Kit
Loading...
Searching...
No Matches
AAX_IDataBuffer.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 *
4 * Copyright 2023 Avid Technology, Inc.
5 * All rights reserved.
6 *
7 * CONFIDENTIAL: this document contains confidential information of Avid. Do
8 * not disclose to any third party. Use of the information contained in this
9 * document is subject to an Avid SDK license.
10 *
11 */
12
16/*================================================================================================*/
17
18#pragma once
19
20#ifndef AAX_IDataBuffer_H
21#define AAX_IDataBuffer_H
22
23#include "AAX_IACFDataBuffer.h"
24#include "AAX.h"
25#include "CACFUnknown.h"
26#include "AAX_UIDs.h"
27#include "acfextras.h"
28
29
36 , public CACFUnknown
37{
38public:
40
41 ACFMETHOD(InternalQueryInterface)(const acfIID & riid, void **ppvObjOut) AAX_OVERRIDE
42 {
43 if (riid == IID_IAAXDataBufferV1)
44 {
45 *ppvObjOut = static_cast<IACFUnknown *>(this);
46 ( static_cast<IACFUnknown *>(*ppvObjOut))->AddRef();
47 return ACF_OK;
48 }
49
50 return this->CACFUnknown::InternalQueryInterface(riid, ppvObjOut);
51 }
52
53 // CACFUnknown does not support operator=()
55};
56
57#endif
Various utility definitions for AAX.
Unique identifiers for AAX/ACF interfaces.
const acfIID IID_IAAXDataBufferV1
ACF interface ID for AAX_IACFDataBuffer.
Definition: AAX_UIDs.h:228
Definition: AAX_ACFInterface.doxygen:216
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:252
virtual acfUInt32 ACFMETHODCALLTYPE AddRef(void)=0
Increments reference count.
Versioned interface for reference counted data buffers.
Definition: AAX_IACFDataBuffer.h:41
Interface for reference counted data buffers.
Definition: AAX_IDataBuffer.h:37
AAX_DELETE(AAX_IDataBuffer &operator=(const AAX_IDataBuffer &))
ACF_DECLARE_STANDARD_UNKNOWN() ACFMETHOD(InternalQueryInterface)(const acfIID &riid
void **ppvObjOut AAX_OVERRIDE
Definition: AAX_IDataBuffer.h:42