\hypertarget{a00458_source}{}\doxysection{AAX\+\_\+\+CTask.\+h}
\label{a00458_source}\index{AAX\_CTask.h@{AAX\_CTask.h}}
\mbox{\hyperlink{a00458}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ \ \ Copyright\ 2023-\/2024\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ \ \ All\ rights\ reserved.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ \ \ This\ file\ is\ part\ of\ the\ Avid\ AAX\ SDK.}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ \ \ \ The\ AAX\ SDK\ is\ subject\ to\ commercial\ or\ open-\/source\ licensing.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ \ \ \ By\ using\ the\ AAX\ SDK,\ you\ agree\ to\ the\ terms\ of\ both\ the\ Avid\ AAX\ SDK\ License}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *\ \ \ \ Agreement\ and\ Avid\ Privacy\ Policy.}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ \ \ AAX\ SDK\ License:\ https://developer.avid.com/aax}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ \ \ Privacy\ Policy:\ https://www.avid.com/legal/privacy-\/policy-\/statement}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ \ \ \ Or:\ You\ may\ also\ use\ this\ code\ under\ the\ terms\ of\ the\ GPL\ v3\ (see}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ \ \ \ www.gnu.org/licenses).}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ \ \ \ THE\ AAX\ SDK\ IS\ PROVIDED\ "{}AS\ IS"{}\ WITHOUT\ ANY\ WARRANTY,\ AND\ ALL\ WARRANTIES,\ WHETHER}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ \ \ \ EXPRESSED\ OR\ IMPLIED,\ INCLUDING\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ PURPOSE,\ ARE}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ \ \ \ DISCLAIMED.}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00032\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#ifndef\ AAX\_CTask\_H}}
\DoxyCodeLine{00037\ \textcolor{preprocessor}{\#define\ AAX\_CTask\_H}}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00572}{AAX\_IACFTask.h}}"{}}}
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#include\ "{}CACFUnknown.h"{}}}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00042\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a01966}{AAX\_CTask}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{a02162}{AAX\_IACFTask}},\ CACFUnknown\ \{}
\DoxyCodeLine{00043\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00044\ \ \ \ \ \mbox{\hyperlink{a01966_afac2d7aa0d8bc6d9bfa9bca95be3e15e}{ACF\_DECLARE\_STANDARD\_UNKNOWN}}()}
\DoxyCodeLine{00045\ \ \ \ \ ACFMETHOD(InternalQueryInterface)(const\ \mbox{\hyperlink{a01766}{acfIID}}\&\ riid,\ \textcolor{keywordtype}{void}**\ ppvObjOut)\ \mbox{\hyperlink{a01966_a797ac91bb6d0c1083f0a581fe8c112d0}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00046\ \ \ \ \ \textcolor{comment}{//\ CACFUnknown\ does\ not\ support\ operator=()}}
\DoxyCodeLine{00047\ \ \ \ \ \mbox{\hyperlink{a00542_a2511e9b022e49caf594bca6fa6bff74c}{AAX\_DELETE}}(\mbox{\hyperlink{a01966}{AAX\_CTask}}\&\ operator=(const\ \mbox{\hyperlink{a01966}{AAX\_CTask}}\&));}
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00049\ \ \ \ \ explicit\ \mbox{\hyperlink{a01966}{AAX\_CTask}}(\mbox{\hyperlink{a00542_ac678f9c1fbcc26315d209f71a147a175}{AAX\_CTypeID}}\ iType);}
\DoxyCodeLine{00050\ \ \ \ \ \mbox{\hyperlink{a00542_a2cb0270bc94e260696e62749de215798}{AAX\_DEFAULT\_DTOR\_OVERRIDE}}(\mbox{\hyperlink{a01966}{AAX\_CTask}});}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00052\ \ \ \ \ \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01966_ad78ed27984505abdf7dfb2dc8d72b388}{GetType}}(\mbox{\hyperlink{a00542_ac678f9c1fbcc26315d209f71a147a175}{AAX\_CTypeID}}*\ oType)\ const\ \mbox{\hyperlink{a01966_a797ac91bb6d0c1083f0a581fe8c112d0}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00053\ \ \ \ \ \mbox{\hyperlink{a02038}{AAX\_IACFDataBuffer}}\ const*\ \mbox{\hyperlink{a01966_a80306d418b32599f5a81397d2e61a55e}{GetArgumentOfType}}(\mbox{\hyperlink{a00542_ac678f9c1fbcc26315d209f71a147a175}{AAX\_CTypeID}}\ iType)\ const\ \mbox{\hyperlink{a01966_a797ac91bb6d0c1083f0a581fe8c112d0}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00054\ \ \ \ \ \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}}
\DoxyCodeLine{00055\ \ \ \ \ \mbox{\hyperlink{a01966_a4d530fb51f1821f27e5f81a447dd50d3}{SetProgress}}(\textcolor{keywordtype}{float}\ iProgress)\ \mbox{\hyperlink{a01966_a797ac91bb6d0c1083f0a581fe8c112d0}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00056\ \ \ \ \ \textcolor{keywordtype}{float}\ \ \ \ \ \ \mbox{\hyperlink{a01966_a48160984bad29569cfc8ec7760f266d1}{GetProgress}}()\ const\ \mbox{\hyperlink{a01966_a797ac91bb6d0c1083f0a581fe8c112d0}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00057\ \ \ \ \ \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \mbox{\hyperlink{a01966_ac152507e0f6ae6d4982288f576d3a3f8}{AddResult}}(\mbox{\hyperlink{a02038}{AAX\_IACFDataBuffer}}\ const*\ iResult)}
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01966_a797ac91bb6d0c1083f0a581fe8c112d0}{AAX\_OVERRIDE}};\ \textcolor{comment}{//\ NOTE:\ This\ needs\ to\ change\ to\ non-\/const\ so\ that\ intrusive\ reference\ counting\ works,\ or}}
\DoxyCodeLine{00059\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ implementations\ always\ need\ to\ copy\ all\ of\ the\ data\ out\ to\ their\ own\ objects\ rather\ than}}
\DoxyCodeLine{00060\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ retaining\ this\ object,\ which\ also\ works\ OK.}}
\DoxyCodeLine{00061\ \ \ \ \ \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \mbox{\hyperlink{a01966_a8e81eb4eb3361b1747e2e14ee9ce5670}{SetDone}}(\mbox{\hyperlink{a00907_ga101aaf82fd3a9c6a445b5312e9551ba1}{AAX\_TaskCompletionStatus}}\ iStatus)\ \mbox{\hyperlink{a01966_a797ac91bb6d0c1083f0a581fe8c112d0}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00063\ public:}
\DoxyCodeLine{00064\ \ \ \ \ \mbox{\hyperlink{a00907_ga101aaf82fd3a9c6a445b5312e9551ba1}{AAX\_TaskCompletionStatus}}\ \mbox{\hyperlink{a01966_a52143c2900538cfe71ce66d3d92b36d9}{Status}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mStatus;\ \}}
\DoxyCodeLine{00065\ }
\DoxyCodeLine{00066\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00067\ \ \ \ \ \mbox{\hyperlink{a00542_ac678f9c1fbcc26315d209f71a147a175}{AAX\_CTypeID}}\ \ \ \ \ \ \ \ \ \ \ \ \ \ mType\{\ 0\ \};\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00068\ \ \ \ \ \textcolor{keywordtype}{float}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mProgress\ \{\ 0.f\ \};}
\DoxyCodeLine{00069\ \ \ \ \ \mbox{\hyperlink{a00907_ga101aaf82fd3a9c6a445b5312e9551ba1}{AAX\_TaskCompletionStatus}}\ mStatus\ \{\ AAX\_TaskCompletionStatus::None\ \};}
\DoxyCodeLine{00070\ \};}
\DoxyCodeLine{00071\ }
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00073\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
