| 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_VTask.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
33#ifndef AAX_VTask_H
34#define AAX_VTask_H
35
36#include "AAX_ITask.h"
37#include "AAX.h"
38
39#include "ACFPtr.h"
40
41 class IACFUnknown;
42
46 class AAX_VTask : public AAX_ITask
47{
48 public:
49 explicit AAX_VTask( IACFUnknown* pUnknown );
50 ~AAX_VTask() AAX_OVERRIDE;
51
52 AAX_Result GetType(AAX_CTypeID * oType) const AAX_OVERRIDE;
53 AAX_IACFDataBuffer const * GetArgumentOfType(AAX_CTypeID iType) const AAX_OVERRIDE;
54
55 AAX_Result SetProgress(float iProgress) AAX_OVERRIDE;
56 float GetProgress() const AAX_OVERRIDE;
57 AAX_Result AddResult(AAX_IACFDataBuffer const * iResult) AAX_OVERRIDE;
58 AAX_ITask * SetDone(AAX_TaskCompletionStatus iStatus) AAX_OVERRIDE;
59private:
60 ACFPtr<AAX_IACFTask> mTaskV1;
61};
62
63#endif
AAX.h
Various utility definitions for AAX.
AAX_Result
int32_t AAX_Result
Definition: AAX.h:347
AAX_OVERRIDE
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:164
AAX_CTypeID
uint32_t AAX_CTypeID
Matches type of OSType used in classic plugins.
Definition: AAX.h:346
AAX_ITask.h
AAX_TaskCompletionStatus
AAX_TaskCompletionStatus
Definition: AAX_IACFTask.h:55
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:265
AAX_IACFDataBuffer
Versioned interface for reference counted data buffers.
Definition: AAX_IACFDataBuffer.h:54
AAX_IACFTask
Versioned interface for an asynchronous task.
Definition: AAX_IACFTask.h:70
AAX_ITask
Interface representing a request to perform a task.
Definition: AAX_ITask.h:61
AAX_VTask
Version-managed concrete AAX_ITask.
Definition: AAX_VTask.h:47
AAX_VTask::GetType
AAX_Result GetType(AAX_CTypeID *oType) const AAX_OVERRIDE
AAX_VTask::~AAX_VTask
~AAX_VTask() AAX_OVERRIDE
AAX_VTask::SetProgress
AAX_Result SetProgress(float iProgress) AAX_OVERRIDE
AAX_VTask::AAX_VTask
AAX_VTask(IACFUnknown *pUnknown)
AAX_VTask::GetProgress
float GetProgress() const AAX_OVERRIDE
AAX_VTask::AddResult
AAX_Result AddResult(AAX_IACFDataBuffer const *iResult) AAX_OVERRIDE
Attach result data to this task.
AAX_VTask::GetArgumentOfType
AAX_IACFDataBuffer const * GetArgumentOfType(AAX_CTypeID iType) const AAX_OVERRIDE
AAX_VTask::SetDone
AAX_ITask * SetDone(AAX_TaskCompletionStatus iStatus) AAX_OVERRIDE
Inform the host that the task is completed.