| 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_VPageTable.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 * Copyright 2016-2017, 2019, 2023 Avid Technology, Inc.
4 * All rights reserved.
5 *
6 * CONFIDENTIAL: this document contains confidential information of Avid. Do
7 * not disclose to any third party. Use of the information contained in this
8 * document is subject to an Avid SDK license.
9 */
10
11#ifndef AAXLibrary_AAX_VPageTable_h
12#define AAXLibrary_AAX_VPageTable_h
13
14#include "AAX_IPageTable.h"
15#include "AAX_IACFPageTable.h"
16#include "ACFPtr.h"
17
22 class AAX_VPageTable : public AAX_IPageTable
23{
24 public:
25 AAX_VPageTable( IACFUnknown* pUnknown );
26 ~AAX_VPageTable() AAX_OVERRIDE;
27
28 // AAX_IACFPageTable
29 AAX_Result Clear() AAX_OVERRIDE;
30 AAX_Result Empty(AAX_CBoolean& oEmpty) const AAX_OVERRIDE;
31 AAX_Result GetNumPages(int32_t& oNumPages) const AAX_OVERRIDE;
32 AAX_Result InsertPage(int32_t iPage) AAX_OVERRIDE;
33 AAX_Result RemovePage(int32_t iPage) AAX_OVERRIDE;
34 AAX_Result GetNumMappedParameterIDs(int32_t iPage, int32_t& oNumParameterIdentifiers) const AAX_OVERRIDE;
35 AAX_Result ClearMappedParameter(int32_t iPage, int32_t iIndex) AAX_OVERRIDE;
36 AAX_Result GetMappedParameterID(int32_t iPage, int32_t iIndex, AAX_IString& oParameterIdentifier) const AAX_OVERRIDE;
37 AAX_Result MapParameterID(AAX_CParamID iParameterIdentifier, int32_t iPage, int32_t iIndex) AAX_OVERRIDE;
38
39 // AAX_IACFPageTable_V2
40 AAX_Result GetNumParametersWithNameVariations(int32_t& oNumParameterIdentifiers) const AAX_OVERRIDE;
41 AAX_Result GetNameVariationParameterIDAtIndex(int32_t iIndex, AAX_IString& oParameterIdentifier) const AAX_OVERRIDE;
42 AAX_Result GetNumNameVariationsForParameter(AAX_CPageTableParamID iParameterIdentifier, int32_t& oNumVariations) const AAX_OVERRIDE;
43 AAX_Result GetParameterNameVariationAtIndex(AAX_CPageTableParamID iParameterIdentifier, int32_t iIndex, AAX_IString& oNameVariation, int32_t& oLength) const AAX_OVERRIDE;
44 AAX_Result GetParameterNameVariationOfLength(AAX_CPageTableParamID iParameterIdentifier, int32_t iLength, AAX_IString& oNameVariation) const AAX_OVERRIDE;
45 AAX_Result ClearParameterNameVariations() AAX_OVERRIDE;
46 AAX_Result ClearNameVariationsForParameter(AAX_CPageTableParamID iParameterIdentifier) AAX_OVERRIDE;
47 AAX_Result SetParameterNameVariation(AAX_CPageTableParamID iParameterIdentifier, const AAX_IString& iNameVariation, int32_t iLength) AAX_OVERRIDE;
48
49 // AAX_VPageTable
50
54 const IACFUnknown* AsUnknown() const
55 {
56 return mIPageTable.inArg();
57 }
58
61 IACFUnknown* AsUnknown()
62 {
63 return mIPageTable.inArg();
64 }
65
66 bool IsSupported() const { return !mIPageTable.isNull(); }
67
68 private:
69 ACFPtr<AAX_IACFPageTable> mIPageTable;
70 ACFPtr<AAX_IACFPageTable_V2> mIPageTable2;
71};
72
73#endif
AAX_CParamID
const char * AAX_CParamID
Parameter identifier.
Definition: AAX.h:349
AAX_Result
int32_t AAX_Result
Definition: AAX.h:334
AAX_CBoolean
uint8_t AAX_CBoolean
Cross-compiler boolean type used by AAX interfaces.
Definition: AAX.h:326
AAX_CPageTableParamID
AAX_CParamID AAX_CPageTableParamID
Parameter identifier used in a page table.
Definition: AAX.h:350
AAX_OVERRIDE
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:151
AAX_IPageTable.h
AAX_IACFPageTable.h
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:252
AAX_IPageTable
Interface to the host's representation of a plug-in instance's page table.
Definition: AAX_IPageTable.h:25
AAX_IString
A simple string container that can be passed across a binary boundary. This class,...
Definition: AAX_IString.h:38
AAX_VPageTable
Version-managed concrete AAX_IPageTable class.
Definition: AAX_VPageTable.h:23
AAX_VPageTable::GetNumParametersWithNameVariations
AAX_Result GetNumParametersWithNameVariations(int32_t &oNumParameterIdentifiers) const AAX_OVERRIDE
AAX_VPageTable::GetNumNameVariationsForParameter
AAX_Result GetNumNameVariationsForParameter(AAX_CPageTableParamID iParameterIdentifier, int32_t &oNumVariations) const AAX_OVERRIDE
AAX_VPageTable::GetParameterNameVariationAtIndex
AAX_Result GetParameterNameVariationAtIndex(AAX_CPageTableParamID iParameterIdentifier, int32_t iIndex, AAX_IString &oNameVariation, int32_t &oLength) const AAX_OVERRIDE
AAX_VPageTable::GetNumMappedParameterIDs
AAX_Result GetNumMappedParameterIDs(int32_t iPage, int32_t &oNumParameterIdentifiers) const AAX_OVERRIDE
Returns the total number of parameter IDs which are mapped to a page.
AAX_VPageTable::RemovePage
AAX_Result RemovePage(int32_t iPage) AAX_OVERRIDE
Remove the page at index iPage.
AAX_VPageTable::GetNameVariationParameterIDAtIndex
AAX_Result GetNameVariationParameterIDAtIndex(int32_t iIndex, AAX_IString &oParameterIdentifier) const AAX_OVERRIDE
AAX_VPageTable::GetParameterNameVariationOfLength
AAX_Result GetParameterNameVariationOfLength(AAX_CPageTableParamID iParameterIdentifier, int32_t iLength, AAX_IString &oNameVariation) const AAX_OVERRIDE
AAX_VPageTable::ClearParameterNameVariations
AAX_Result ClearParameterNameVariations() AAX_OVERRIDE
AAX_VPageTable::MapParameterID
AAX_Result MapParameterID(AAX_CParamID iParameterIdentifier, int32_t iPage, int32_t iIndex) AAX_OVERRIDE
Map a parameter to this table.
AAX_VPageTable::InsertPage
AAX_Result InsertPage(int32_t iPage) AAX_OVERRIDE
Insert a new empty page before the page at index iPage.
AAX_VPageTable::SetParameterNameVariation
AAX_Result SetParameterNameVariation(AAX_CPageTableParamID iParameterIdentifier, const AAX_IString &iNameVariation, int32_t iLength) AAX_OVERRIDE
AAX_VPageTable::ClearMappedParameter
AAX_Result ClearMappedParameter(int32_t iPage, int32_t iIndex) AAX_OVERRIDE
Clear the parameter at a particular index in this table.
AAX_VPageTable::ClearNameVariationsForParameter
AAX_Result ClearNameVariationsForParameter(AAX_CPageTableParamID iParameterIdentifier) AAX_OVERRIDE
AAX_VPageTable::AAX_VPageTable
AAX_VPageTable(IACFUnknown *pUnknown)
AAX_VPageTable::AsUnknown
IACFUnknown * AsUnknown()
Definition: AAX_VPageTable.h:61
AAX_VPageTable::~AAX_VPageTable
~AAX_VPageTable() AAX_OVERRIDE
AAX_VPageTable::Clear
AAX_Result Clear() AAX_OVERRIDE
Clears all parameter mappings from the table.
AAX_VPageTable::GetMappedParameterID
AAX_Result GetMappedParameterID(int32_t iPage, int32_t iIndex, AAX_IString &oParameterIdentifier) const AAX_OVERRIDE
Get the parameter identifier which is currently mapped to an index in this table.
AAX_VPageTable::AsUnknown
const IACFUnknown * AsUnknown() const
Definition: AAX_VPageTable.h:54
AAX_VPageTable::GetNumPages
AAX_Result GetNumPages(int32_t &oNumPages) const AAX_OVERRIDE
Get the number of pages currently in this table.
AAX_VPageTable::IsSupported
bool IsSupported() const
Definition: AAX_VPageTable.h:66
AAX_VPageTable::Empty
AAX_Result Empty(AAX_CBoolean &oEmpty) const AAX_OVERRIDE
Indicates whether the table is empty.