| AAX SDK 2.6.1 Avid Audio Extensions Development Kit

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

- File List
- File Members

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
35 class AAX_IDataBuffer : public AAX_IACFDataBuffer
36 , public CACFUnknown
37{
38 public:
39 ACF_DECLARE_STANDARD_UNKNOWN()
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=()
54 AAX_DELETE(AAX_IDataBuffer& operator= (const AAX_IDataBuffer&));
55};
56
57#endif
AAX.h
Various utility definitions for AAX.
AAX_UIDs.h
Unique identifiers for AAX/ACF interfaces.
IID_IAAXDataBufferV1
const acfIID IID_IAAXDataBufferV1
ACF interface ID for AAX_IACFDataBuffer.
Definition: AAX_UIDs.h:228
AAX_IACFDataBuffer.h
_acfUID
Definition: AAX_ACFInterface.doxygen:216
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:252
IACFUnknown::AddRef
virtual acfUInt32 ACFMETHODCALLTYPE AddRef(void)=0
Increments reference count.
AAX_IACFDataBuffer
Versioned interface for reference counted data buffers.
Definition: AAX_IACFDataBuffer.h:41
AAX_IDataBuffer
Interface for reference counted data buffers.
Definition: AAX_IDataBuffer.h:37
AAX_IDataBuffer::AAX_DELETE
AAX_DELETE(AAX_IDataBuffer &operator=(const AAX_IDataBuffer &))
AAX_IDataBuffer::ACF_DECLARE_STANDARD_UNKNOWN
ACF_DECLARE_STANDARD_UNKNOWN() ACFMETHOD(InternalQueryInterface)(const acfIID &riid
AAX_IDataBuffer::AAX_OVERRIDE
void **ppvObjOut AAX_OVERRIDE
Definition: AAX_IDataBuffer.h:42