| 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_VHostTaskAgent.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
31/*================================================================================================*/
32
33#pragma once
34
35#ifndef AAX_VHostTaskAgent_H
36#define AAX_VHostTaskAgent_H
37
38#include "AAX_IHostTaskAgent.h"
39#include "ACFPtr.h"
40
41 class AAX_IACFTaskAgent;
42
43 class AAX_VHostTaskAgent : public AAX_IHostTaskAgent {
44 public:
45 explicit AAX_VHostTaskAgent(IACFUnknown* iUnknown);
46 ~AAX_VHostTaskAgent() override;
47
48 AAX_Result Initialize(IACFUnknown* iController) override;
49 AAX_Result Uninitialize() override;
50 AAX_Result AddTask(IACFUnknown* iTask) override;
51 AAX_Result CancelAllTasks() override;
52
53 private:
54 void Teardown();
55
56 ACFPtr<AAX_IACFTaskAgent> mTaskAgentV1;
57};
58
59#endif
AAX_IHostTaskAgent.h
Interface to access an AAX_IACFTaskAgent object implemented by the host.
AAX_Result
int32_t AAX_Result
Definition: AAX.h:347
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:265
AAX_IACFTaskAgent
Versioned interface for a component that accepts task requests.
Definition: AAX_IACFTaskAgent.h:63
AAX_IHostTaskAgent
Interface to access an AAX_IACFTaskAgent object implemented by the host.
Definition: AAX_IHostTaskAgent.h:50
AAX_VHostTaskAgent
Definition: AAX_VHostTaskAgent.h:43
AAX_VHostTaskAgent::~AAX_VHostTaskAgent
~AAX_VHostTaskAgent() override
AAX_VHostTaskAgent::CancelAllTasks
AAX_Result CancelAllTasks() override
AAX_VHostTaskAgent::AddTask
AAX_Result AddTask(IACFUnknown *iTask) override
AAX_VHostTaskAgent::Uninitialize
AAX_Result Uninitialize() override
AAX_VHostTaskAgent::Initialize
AAX_Result Initialize(IACFUnknown *iController) override
AAX_VHostTaskAgent::AAX_VHostTaskAgent
AAX_VHostTaskAgent(IACFUnknown *iUnknown)