| 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_ISessionDocument.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#ifndef AAX_ISessionDocument_H
20#define AAX_ISessionDocument_H
21
22#include "AAX_SessionDocumentTypes.h"
23#include "AAX_UIDs.h"
24#include "AAX.h"
25#include <memory>
26
27 class IACFUnknown;
28
38 class AAX_ISessionDocument
39{
40 public:
41 virtual ~AAX_ISessionDocument() = default;
42
43 class TempoMap
44 {
45 public:
46 virtual ~TempoMap() = default;
47 virtual int32_t Size() const = 0;
48 virtual AAX_CTempoBreakpoint const * Data() const = 0;
49 };
50
54 virtual bool Valid() const = 0;
55
64 virtual std::unique_ptr<TempoMap const> GetTempoMap() = 0;
65
95 virtual AAX_Result GetDocumentData(AAX_DocumentData_UID const & inDataType, IACFUnknown ** outData) = 0;
96};
97
98#endif // AAX_ISessionDocument_H
AAX_SessionDocumentTypes.h
AAX.h
Various utility definitions for AAX.
AAX_Result
int32_t AAX_Result
Definition: AAX.h:334
AAX_UIDs.h
Unique identifiers for AAX/ACF interfaces.
_acfUID
Definition: AAX_ACFInterface.doxygen:216
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:252
AAX_ISessionDocument
Interface representing information in a host session document.
Definition: AAX_ISessionDocument.h:39
AAX_ISessionDocument::GetDocumentData
virtual AAX_Result GetDocumentData(AAX_DocumentData_UID const &inDataType, IACFUnknown **outData)=0
AAX_ISessionDocument::~AAX_ISessionDocument
virtual ~AAX_ISessionDocument()=default
AAX_ISessionDocument::Valid
virtual bool Valid() const =0
Check whether this session document is valid.
AAX_ISessionDocument::GetTempoMap
virtual std::unique_ptr< TempoMap const > GetTempoMap()=0
Get a copy of the document's tempo map.
AAX_ISessionDocument::TempoMap
Definition: AAX_ISessionDocument.h:44
AAX_ISessionDocument::TempoMap::Size
virtual int32_t Size() const =0
AAX_ISessionDocument::TempoMap::Data
virtual AAX_CTempoBreakpoint const * Data() const =0
AAX_ISessionDocument::TempoMap::~TempoMap
virtual ~TempoMap()=default
AAX_CTempoBreakpoint
Definition: AAX_SessionDocumentTypes.h:32