AAX SDK 2.8.0
Avid Audio Extensions Development Kit
Loading...
Searching...
No Matches
AAX_VSessionDocument.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_VSessionDocument_H
33#define AAX_VSessionDocument_H
34
36#include "ACFPtr.h"
37
40
42{
43public:
44 explicit AAX_VSessionDocument(IACFUnknown * iUnknown);
46
48 {
49 public:
51 explicit VTempoMap(IACFUnknown & inDataBuffer);
52 int32_t Size() const AAX_OVERRIDE;
53 AAX_CTempoBreakpoint const * Data() const AAX_OVERRIDE;
54 private:
55 std::unique_ptr<AAX_IDataBufferWrapper const> mDataBuffer;
56 };
57
61 void Clear();
62
63 bool Valid() const AAX_OVERRIDE;
66
67private:
68 ACFPtr<AAX_IACFSessionDocument> mSessionDocumentV1;
69};
70
71#endif // AAX_VSessionDocument_H
int32_t AAX_Result
Definition: AAX.h:347
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:164
Definition: AAX_ACFInterface.doxygen:229
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:265
Interface representing information in a host session document.
Definition: AAX_IACFSessionDocument.h:51
Wrapper for an AAX_IDataBuffer.
Definition: AAX_IDataBufferWrapper.h:49
Interface representing information in a host session document.
Definition: AAX_ISessionDocument.h:52
Definition: AAX_ISessionDocument.h:57
Definition: AAX_SessionDocumentTypes.h:45
Definition: AAX_VSessionDocument.h:42
AAX_Result GetDocumentData(AAX_DocumentData_UID const &inDataType, IACFUnknown **outData) AAX_OVERRIDE
void Clear()
Release all interface references.
bool Valid() const AAX_OVERRIDE
Check whether this session document is valid.
~AAX_VSessionDocument() AAX_OVERRIDE
AAX_VSessionDocument(IACFUnknown *iUnknown)
std::unique_ptr< AAX_ISessionDocument::TempoMap const > GetTempoMap() AAX_OVERRIDE
Get a copy of the document's tempo map.
Definition: AAX_VSessionDocument.h:48