| 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_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
26 class AAX_IACFDataBuffer;
27
28
47 class AAX_ITask
48{
49 public:
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
125 virtual AAX_ITask * SetDone(AAX_TaskCompletionStatus iStatus) = 0;
126};
127
128
129#endif
AAX.h
Various utility definitions for AAX.
AAX_Result
int32_t AAX_Result
Definition: AAX.h:334
AAX_CTypeID
uint32_t AAX_CTypeID
Matches type of OSType used in classic plugins.
Definition: AAX.h:333
AAX_IACFTask.h
Defines the interface representing an asynchronous task.
AAX_TaskCompletionStatus
AAX_TaskCompletionStatus
Definition: AAX_IACFTask.h:42
AAX_IACFDataBuffer
Versioned interface for reference counted data buffers.
Definition: AAX_IACFDataBuffer.h:41
AAX_ITask
Interface representing a request to perform a task.
Definition: AAX_ITask.h:48
AAX_ITask::SetProgress
virtual AAX_Result SetProgress(float iProgress)=0
AAX_ITask::SetDone
virtual AAX_ITask * SetDone(AAX_TaskCompletionStatus iStatus)=0
Inform the host that the task is completed.
AAX_ITask::~AAX_ITask
virtual ~AAX_ITask()=default
AAX_ITask::GetProgress
virtual float GetProgress() const =0
AAX_ITask::GetType
virtual AAX_Result GetType(AAX_CTypeID *oType) const =0
AAX_ITask::GetArgumentOfType
virtual AAX_IACFDataBuffer const * GetArgumentOfType(AAX_CTypeID iType) const =0
AAX_ITask::AddResult
virtual AAX_Result AddResult(AAX_IACFDataBuffer const *iResult)=0
Attach result data to this task.