#include <AAX_VTask.h>
Version-managed concrete AAX_ITask.
◆ AAX_VTask()
◆ ~AAX_VTask()
| AAX_VTask::~AAX_VTask |
( |
| ) |
|
◆ GetType()
An identifier defining the type of the requested task
- Parameters
-
| [out] | oType | The type of this task request |
Implements AAX_ITask.
◆ GetArgumentOfType()
Additional information defining the request, depending on the task type
- Parameters
-
| [in] | iType | The type of argument requested. Possible argument types, if any, and the resulting data buffer format must be defined per task type. |
- Returns
- The requested argument data, or nullptr. This data buffer's type ID is expected to match
iType . The caller takes ownership of this object.
Implements AAX_ITask.
◆ SetProgress()
| AAX_Result AAX_VTask::SetProgress |
( |
float |
iProgress | ) |
|
|
virtual |
Inform the host about the current status of the task
- Parameters
-
| [in] | iProgress | A value between 0 (no progress) and 1 (complete) |
Implements AAX_ITask.
◆ GetProgress()
| float AAX_VTask::GetProgress |
( |
| ) |
const |
|
virtual |
Returns the current progress
Implements AAX_ITask.
◆ AddResult()
Attach result data to this task.
This can be called multiple times to add multiple types of results to a single task.
The host may process the result data immediately or may wait for the task to complete.
The plug-in is expected to release the data buffer upon making this call. At a minimum, the data buffer must not be changed after this call is made. See ACFPtr::inArg()
- Parameters
-
| [in] | iResult | A buffer containing the result data. Expected result types, if any, and their data buffer format must be defined per task type. |
Implements AAX_ITask.
◆ SetDone()
Inform the host that the task is completed.
If successful, returns a null pointer. Otherwise, returns a pointer back to the same object. This is the expected usage pattern:
myTask = myTask->SetDone(status);
- Parameters
-
| [in] | iStatus | The final status of the task. This indicates to the host whether or not the task was performed as requested. |
Implements AAX_ITask.
The documentation for this class was generated from the following file: