AAX SDK 2.6.1
Avid Audio Extensions Development Kit
Loading...
Searching...
No Matches
AAX_ITask.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
20#ifndef AAX_ITask_H
21#define AAX_ITask_H
22
23#include "AAX_IACFTask.h"
24#include "AAX.h"
25
27
28
48{
49public:
50 virtual ~AAX_ITask() = default;
51
58 virtual AAX_Result GetType(AAX_CTypeID * oType) const = 0;
59
73 virtual AAX_IACFDataBuffer const * GetArgumentOfType(AAX_CTypeID iType) const = 0;
74
81 virtual AAX_Result SetProgress(float iProgress) = 0;
82
86 virtual float GetProgress() const = 0;
87
106 virtual AAX_Result AddResult(AAX_IACFDataBuffer const * iResult) = 0;
107
126};
127
128
129#endif
Various utility definitions for AAX.
int32_t AAX_Result
Definition: AAX.h:334
uint32_t AAX_CTypeID
Matches type of OSType used in classic plugins.
Definition: AAX.h:333
Defines the interface representing an asynchronous task.
AAX_TaskCompletionStatus
Definition: AAX_IACFTask.h:42
Versioned interface for reference counted data buffers.
Definition: AAX_IACFDataBuffer.h:41
Interface representing a request to perform a task.
Definition: AAX_ITask.h:48
virtual AAX_Result SetProgress(float iProgress)=0
virtual AAX_ITask * SetDone(AAX_TaskCompletionStatus iStatus)=0
Inform the host that the task is completed.
virtual ~AAX_ITask()=default
virtual float GetProgress() const =0
virtual AAX_Result GetType(AAX_CTypeID *oType) const =0
virtual AAX_IACFDataBuffer const * GetArgumentOfType(AAX_CTypeID iType) const =0
virtual AAX_Result AddResult(AAX_IACFDataBuffer const *iResult)=0
Attach result data to this task.