| AAX SDK 2.8.0 Avid Audio Extensions Development Kit

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

- File List
- File Members

Loading...
Searching...
No Matches
AAX_VDescriptionHost.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 * Copyright 2016-2017, 2019, 2023-2024 Avid Technology, Inc.
4 * All rights reserved.
5 *
6 * This file is part of the Avid AAX SDK.
7 *
8 * The AAX SDK is subject to commercial or open-source licensing.
9 *
10 * By using the AAX SDK, you agree to the terms of both the Avid AAX SDK License
11 * Agreement and Avid Privacy Policy.
12 *
13 * AAX SDK License: https://developer.avid.com/aax
14 * Privacy Policy: https://www.avid.com/legal/privacy-policy-statement
15 *
16 * Or: You may also use this code under the terms of the GPL v3 (see
17 * www.gnu.org/licenses).
18 *
19 * THE AAX SDK IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 * EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21 * DISCLAIMED.
22 */
23
24#ifndef AAXLibrary_AAX_VDescriptionHost_h
25#define AAXLibrary_AAX_VDescriptionHost_h
26
27
28#include "AAX_IDescriptionHost.h"
29#include "ACFPtr.h"
30
31
32 class AAX_IACFDescriptionHost;
33 class IACFDefinition;
34
35
42 class AAX_VDescriptionHost : public AAX_IDescriptionHost
43{
44 public:
45 explicit AAX_VDescriptionHost( IACFUnknown* pUnknown );
46 ~AAX_VDescriptionHost() AAX_OVERRIDE;
47
48public: // AAX_IDescriptionHost
49 const AAX_IFeatureInfo* AcquireFeatureProperties(const AAX_Feature_UID& inFeatureID) const AAX_OVERRIDE;
50
51public: // AAX_VDescriptionHost
52 bool Supported() const { return !mDescriptionHost.isNull(); }
53 AAX_IACFDescriptionHost* DescriptionHost() { return mDescriptionHost.inArg(); } // does not addref
54 const AAX_IACFDescriptionHost* DescriptionHost() const { return mDescriptionHost.inArg(); } // does not addref
55 IACFDefinition* HostDefinition() const { return mHostInformation.inArg(); } // does not addref
56
57 private:
58 ACFPtr<AAX_IACFDescriptionHost> mDescriptionHost;
59 ACFPtr<IACFDefinition> mHostInformation;
60};
61
62
63
64
65#endif // AAXLibrary_AAX_VDescriptionHost_h
AAX_OVERRIDE
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:164
AAX_IDescriptionHost.h
_acfUID
Definition: AAX_ACFInterface.doxygen:229
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:265
IACFDefinition
Publicly inherits from IACFUnknown.This abstract interface is used to indentify all of the plug-in co...
Definition: AAX_ACFInterface.doxygen:314
AAX_IACFDescriptionHost
Definition: AAX_IACFDescriptionHost.h:43
AAX_IDescriptionHost
Definition: AAX_IDescriptionHost.h:35
AAX_IFeatureInfo
Definition: AAX_IFeatureInfo.h:34
AAX_VDescriptionHost
Definition: AAX_VDescriptionHost.h:43
AAX_VDescriptionHost::AAX_VDescriptionHost
AAX_VDescriptionHost(IACFUnknown *pUnknown)
AAX_VDescriptionHost::Supported
bool Supported() const
Definition: AAX_VDescriptionHost.h:52
AAX_VDescriptionHost::DescriptionHost
const AAX_IACFDescriptionHost * DescriptionHost() const
Definition: AAX_VDescriptionHost.h:54
AAX_VDescriptionHost::HostDefinition
IACFDefinition * HostDefinition() const
Definition: AAX_VDescriptionHost.h:55
AAX_VDescriptionHost::~AAX_VDescriptionHost
~AAX_VDescriptionHost() AAX_OVERRIDE
AAX_VDescriptionHost::AcquireFeatureProperties
const AAX_IFeatureInfo * AcquireFeatureProperties(const AAX_Feature_UID &inFeatureID) const AAX_OVERRIDE
AAX_VDescriptionHost::DescriptionHost
AAX_IACFDescriptionHost * DescriptionHost()
Definition: AAX_VDescriptionHost.h:53