\hypertarget{a00791_source}{}\doxysection{AAX\+\_\+\+CAutorelease\+Pool.\+h}
\label{a00791_source}\index{AAX\_CAutoreleasePool.h@{AAX\_CAutoreleasePool.h}}
\mbox{\hyperlink{a00791}{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\ 2014-\/2015,\ 2023\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ CONFIDENTIAL:\ this\ document\ contains\ confidential\ information\ of\ Avid.\ Do}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ not\ disclose\ to\ any\ third\ party.\ Use\ of\ the\ information\ contained\ in\ this}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ \ document\ is\ subject\ to\ an\ Avid\ SDK\ license.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00018\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#ifndef\ \_AAX\_CAUTORELEASEPOOL\_H\_}}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#define\ \_AAX\_CAUTORELEASEPOOL\_H\_}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ \textcolor{comment}{/*\ \ \(\backslash\)brief\ Creates\ an\ autorelease\ pool\ for\ the\ scope\ of\ the\ stack\ based\ class}}
\DoxyCodeLine{00028\ \textcolor{comment}{\ \ \ \ to\ clearn\ up\ any\ autoreleased\ memory\ that\ was\ allocated\ in\ the\ lifetime\ of}}
\DoxyCodeLine{00029\ \textcolor{comment}{\ \ \ \ the\ pool.}}
\DoxyCodeLine{00030\ \textcolor{comment}{\ \ \ \ }}
\DoxyCodeLine{00031\ \textcolor{comment}{\ \ \ \ \(\backslash\)details}}
\DoxyCodeLine{00032\ \textcolor{comment}{\ \ \ \ This\ may\ be\ used\ on\ either\ Mac\ or\ Windows\ platforms\ and\ will\ not\ pull\ in}}
\DoxyCodeLine{00033\ \textcolor{comment}{\ \ \ \ any\ Cocoa\ dependencies.}}
\DoxyCodeLine{00034\ \textcolor{comment}{\ \ \ \ }}
\DoxyCodeLine{00035\ \textcolor{comment}{\ \ \ \ usage:}}
\DoxyCodeLine{00036\ \textcolor{comment}{\(\backslash\)code}}
\DoxyCodeLine{00037\ \textcolor{comment}{\{}}
\DoxyCodeLine{00038\ \textcolor{comment}{\ \ \ \ AAX\_CAutoreleasePool\ myAutoReleasePool}}
\DoxyCodeLine{00039\ \textcolor{comment}{\ \ \ \ delete\ myCocoaObject;}}
\DoxyCodeLine{00040\ \textcolor{comment}{}}
\DoxyCodeLine{00041\ \textcolor{comment}{\ \ \ \ //\ Pool\ is\ released\ when\ the\ AAX\_CAutoreleasePool\ is\ destroyed}}
\DoxyCodeLine{00042\ \textcolor{comment}{\}}}
\DoxyCodeLine{00043\ \textcolor{comment}{\(\backslash\)endcode}}
\DoxyCodeLine{00044\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00045\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a01801}{AAX\_CAutoreleasePool}}}
\DoxyCodeLine{00046\ \{}
\DoxyCodeLine{00047\ \ \ \ \ \textcolor{keyword}{public}:}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01801_a7616cfb07ba64f1aa6e05e5c0a543cd5}{AAX\_CAutoreleasePool}}();}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01801_a62e9a899ec16ad32e5689b5d65c82546}{\string~AAX\_CAutoreleasePool}}();}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00051\ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01801_a7616cfb07ba64f1aa6e05e5c0a543cd5}{AAX\_CAutoreleasePool}}\ (\textcolor{keyword}{const}\ \mbox{\hyperlink{a01801}{AAX\_CAutoreleasePool}}\&);}
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01801}{AAX\_CAutoreleasePool}}\&\ operator=\ (\textcolor{keyword}{const}\ \mbox{\hyperlink{a01801}{AAX\_CAutoreleasePool}}\&);}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00055\ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}*\ mAutoreleasePool;\ }
\DoxyCodeLine{00057\ \ \};}
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ \#ifndef\ \_AAX\_CAUTORELEASEPOOL\_H\_}}

\end{DoxyCode}
