| 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_VTask.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_VTask_H
21#define AAX_VTask_H
22
23#include "AAX_ITask.h"
24#include "AAX.h"
25
26#include "ACFPtr.h"
27
28 class IACFUnknown;
29
33 class AAX_VTask : public AAX_ITask
34{
35 public:
36 explicit AAX_VTask( IACFUnknown* pUnknown );
37 ~AAX_VTask() AAX_OVERRIDE;
38
39 AAX_Result GetType(AAX_CTypeID * oType) const AAX_OVERRIDE;
40 AAX_IACFDataBuffer const * GetArgumentOfType(AAX_CTypeID iType) const AAX_OVERRIDE;
41
42 AAX_Result SetProgress(float iProgress) AAX_OVERRIDE;
43 float GetProgress() const AAX_OVERRIDE;
44 AAX_Result AddResult(AAX_IACFDataBuffer const * iResult) AAX_OVERRIDE;
45 AAX_ITask * SetDone(AAX_TaskCompletionStatus iStatus) AAX_OVERRIDE;
46private:
47 ACFPtr<AAX_IACFTask> mTaskV1;
48};
49
50#endif
AAX.h
Various utility definitions for AAX.
AAX_Result
int32_t AAX_Result
Definition: AAX.h:334
AAX_OVERRIDE
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:151
AAX_CTypeID
uint32_t AAX_CTypeID
Matches type of OSType used in classic plugins.
Definition: AAX.h:333
AAX_ITask.h
AAX_TaskCompletionStatus
AAX_TaskCompletionStatus
Definition: AAX_IACFTask.h:42
IACFUnknown
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:252
AAX_IACFDataBuffer
Versioned interface for reference counted data buffers.
Definition: AAX_IACFDataBuffer.h:41
AAX_IACFTask
Versioned interface for an asynchronous task.
Definition: AAX_IACFTask.h:57
AAX_ITask
Interface representing a request to perform a task.
Definition: AAX_ITask.h:48
AAX_VTask
Version-managed concrete AAX_ITask.
Definition: AAX_VTask.h:34
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.