\hypertarget{a02149}{}\doxysection{AAX\+\_\+\+IACFTask\+Agent Class Reference}
\label{a02149}\index{AAX\_IACFTaskAgent@{AAX\_IACFTaskAgent}}


{\ttfamily \#include $<$AAX\+\_\+\+IACFTask\+Agent.\+h$>$}



Inheritance diagram for AAX\+\_\+\+IACFTask\+Agent\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=192pt]{a02148}
\end{center}
\end{figure}


Collaboration diagram for AAX\+\_\+\+IACFTask\+Agent\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=192pt]{a02147}
\end{center}
\end{figure}


\doxysubsection{Description}
Versioned interface for a component that accepts task requests. 

\begin{DoxyRefDesc}{\+:\+Implemented by the Plug-\/\+In}
\item[\mbox{\hyperlink{a00871__aax_plugin_implementation000001}{\+:\+Implemented by the Plug-\/\+In}}]\end{DoxyRefDesc}


The task agent is expected to complete the requested tasks asynchronously and to provide progress and completion details via calls on the \mbox{\hyperlink{a02145}{AAX\+\_\+\+IACFTask}} interface as the tasks proceed.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{a02317}{AAX\+\_\+\+ITask}} 
\end{DoxySeeAlso}
\doxysubsection*{Public Member Functions}
\begin{Indent}\textbf{ Initialization and uninitialization}\par
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} \mbox{\hyperlink{a02149_a4c5d3847501a15350134d7ef4bf5d450}{Initialize}} (\mbox{\hyperlink{a01757}{IACFUnknown}} $\ast$i\+Controller)=0
\item 
virtual \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} \mbox{\hyperlink{a02149_a158f80f3d646179b8dc7d68b69874709}{Uninitialize}} ()=0
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Task management}\par
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} \mbox{\hyperlink{a02149_a3bd981d2ea24a93a30d09f259f1f046c}{Add\+Task}} (\mbox{\hyperlink{a01757}{IACFUnknown}} $\ast$i\+Task)=0
\item 
virtual \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} \mbox{\hyperlink{a02149_aa4e29b668c574936d0bc03a04f78d2fa}{Cancel\+All\+Tasks}} ()=0
\end{DoxyCompactItemize}
\end{Indent}
\doxysubsubsection*{Public Member Functions inherited from \mbox{\hyperlink{a01757}{IACFUnknown}}}
\begin{DoxyCompactItemize}
\item 
virtual BEGIN\+\_\+\+ACFINTERFACE ACFRESULT ACFMETHODCALLTYPE \mbox{\hyperlink{a01757_a8b7f0ae9c78d007ca76aa462ebe53135}{Query\+Interface}} (const \mbox{\hyperlink{a00305_a59df0b41744eee7a066787aaedf97f67}{acf\+IID}} \&iid, void $\ast$$\ast$pp\+Out)=0
\begin{DoxyCompactList}\small\item\em Returns pointers to supported interfaces. \end{DoxyCompactList}\item 
virtual acf\+UInt32 ACFMETHODCALLTYPE \mbox{\hyperlink{a01757_aa9c7a5b9dff341092b7b86bb9b3a58fb}{Add\+Ref}} (void)=0
\begin{DoxyCompactList}\small\item\em Increments reference count. \end{DoxyCompactList}\item 
virtual acf\+UInt32 ACFMETHODCALLTYPE \mbox{\hyperlink{a01757_afabd38cec0a9ed37f1d3e8644a70ac41}{Release}} (void)=0
\begin{DoxyCompactList}\small\item\em Decrements reference count. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{a02149_a4c5d3847501a15350134d7ef4bf5d450}\label{a02149_a4c5d3847501a15350134d7ef4bf5d450}} 
\index{AAX\_IACFTaskAgent@{AAX\_IACFTaskAgent}!Initialize@{Initialize}}
\index{Initialize@{Initialize}!AAX\_IACFTaskAgent@{AAX\_IACFTaskAgent}}
\doxysubsubsection{\texorpdfstring{Initialize()}{Initialize()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} AAX\+\_\+\+IACFTask\+Agent\+::\+Initialize (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a01757}{IACFUnknown}} $\ast$}]{i\+Controller }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}

Initialize the object


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em i\+Controller} & Interface allowing access to other objects in the object graph such as the plug-\/in\textquotesingle{}s data model. \\
\hline
\end{DoxyParams}


Implemented in \mbox{\hyperlink{a01953_ac5db9f2f65af9e890ffc5c28ef23480a}{AAX\+\_\+\+CTask\+Agent}}.

\mbox{\Hypertarget{a02149_a158f80f3d646179b8dc7d68b69874709}\label{a02149_a158f80f3d646179b8dc7d68b69874709}} 
\index{AAX\_IACFTaskAgent@{AAX\_IACFTaskAgent}!Uninitialize@{Uninitialize}}
\index{Uninitialize@{Uninitialize}!AAX\_IACFTaskAgent@{AAX\_IACFTaskAgent}}
\doxysubsubsection{\texorpdfstring{Uninitialize()}{Uninitialize()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} AAX\+\_\+\+IACFTask\+Agent\+::\+Uninitialize (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}

Uninitialize the object

This method should release references to any shared objects 

Implemented in \mbox{\hyperlink{a01953_a2c5b5ef2c091c62b5a470232e108a6c7}{AAX\+\_\+\+CTask\+Agent}}.

\mbox{\Hypertarget{a02149_a3bd981d2ea24a93a30d09f259f1f046c}\label{a02149_a3bd981d2ea24a93a30d09f259f1f046c}} 
\index{AAX\_IACFTaskAgent@{AAX\_IACFTaskAgent}!AddTask@{AddTask}}
\index{AddTask@{AddTask}!AAX\_IACFTaskAgent@{AAX\_IACFTaskAgent}}
\doxysubsubsection{\texorpdfstring{AddTask()}{AddTask()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} AAX\+\_\+\+IACFTask\+Agent\+::\+Add\+Task (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a01757}{IACFUnknown}} $\ast$}]{i\+Task }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}

Request that the agent perform a task


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em i\+Task} & The task to perform. The agent must retain a reference to this task if it will be used beyond the scope of this method. This object should support at least \mbox{\hyperlink{a02145}{AAX\+\_\+\+IACFTask}} . \\
\hline
\end{DoxyParams}


Implemented in \mbox{\hyperlink{a01953_a5435391b3391a98a4cef2c1e8cff6400}{AAX\+\_\+\+CTask\+Agent}}.

\mbox{\Hypertarget{a02149_aa4e29b668c574936d0bc03a04f78d2fa}\label{a02149_aa4e29b668c574936d0bc03a04f78d2fa}} 
\index{AAX\_IACFTaskAgent@{AAX\_IACFTaskAgent}!CancelAllTasks@{CancelAllTasks}}
\index{CancelAllTasks@{CancelAllTasks}!AAX\_IACFTaskAgent@{AAX\_IACFTaskAgent}}
\doxysubsubsection{\texorpdfstring{CancelAllTasks()}{CancelAllTasks()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} AAX\+\_\+\+IACFTask\+Agent\+::\+Cancel\+All\+Tasks (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}

Request that the agent cancel all outstanding tasks 

Implemented in \mbox{\hyperlink{a01953_a95e7ee23f774466f34a0fddd1b4e40de}{AAX\+\_\+\+CTask\+Agent}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a00776}{AAX\+\_\+\+IACFTask\+Agent.\+h}}\end{DoxyCompactItemize}
