\hypertarget{classUtil_1_1SharedMemory}{\section{\-Util\-:\-:\-Shared\-Memory \-Class \-Reference}
\label{classUtil_1_1SharedMemory}\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}}
}


{\ttfamily \#include $<$\-Shared\-Memory.\-h$>$}

\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structUtil_1_1SharedMemory_1_1Export}{\-Export}
\item 
struct \hyperlink{structUtil_1_1SharedMemory_1_1Pointer}{\-Pointer}
\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classUtil_1_1SharedMemory_a24cfe30cb5a1bdfaf5cbe3d5db193bed}{\-Shared\-Memory} ()
\item 
\hyperlink{classUtil_1_1SharedMemory_a7267789cb4f08d12db8f8d836df47abc}{$\sim$\-Shared\-Memory} ()
\item 
void \hyperlink{classUtil_1_1SharedMemory_accb0ecc284142c82971e4dd6ba5a4fc5}{create} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_a95789996d14aee93fe32f6d653deb7d0}{size})
\item 
bool \hyperlink{classUtil_1_1SharedMemory_a6c4b295360b35658efee916de0a53090}{create} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{Detours_8h_a95789996d14aee93fe32f6d653deb7d0}{size}, const char $\ast$system\-Name)
\item 
void \hyperlink{classUtil_1_1SharedMemory_af2c7604bffa404d04b74295757e69080}{import} (\hyperlink{structUtil_1_1SharedMemory_1_1Export}{\-Export} \hyperlink{Detours_8h_af2ed45b90afa2ef4ec6e09625335a082}{source})
\item 
void \hyperlink{classUtil_1_1SharedMemory_a2e7743a722f30d1eb62dda490e6422bb}{release} ()
\item 
\hyperlink{structUtil_1_1SharedMemory_1_1Export}{\-Export} \hyperlink{classUtil_1_1SharedMemory_acf7751ecce669f9c5e882e4d9c8b911f}{export\-To\-Process} (\hyperlink{classUtil_1_1RemoteProcess}{\-Remote\-Process} \&target, bool read\-Only) const 
\item 
{\footnotesize template$<$typename T $>$ }\\\-T $\ast$ \hyperlink{classUtil_1_1SharedMemory_ab394d660053919644dcf5aca89c8d6a4}{unpack} (\hyperlink{structUtil_1_1SharedMemory_1_1Pointer}{\-Pointer}$<$ \-T $>$ p) const 
\item 
{\footnotesize template$<$typename T $>$ }\\\hyperlink{structUtil_1_1SharedMemory_1_1Pointer}{\-Pointer}$<$ \-T $>$ \hyperlink{classUtil_1_1SharedMemory_a80d2f0f50b4a0c9414e11ae7fc86a0d5}{pack} (\-T $\ast$pt) const 
\item 
\hyperlink{classUtil_1_1MemoryFrame}{\-Memory\-Frame} \hyperlink{classUtil_1_1SharedMemory_a02c2f6a36ebb3e99833352d75fdddea6}{get\-Memory} () const 
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classUtil_1_1SharedMemory_a8110e4d84102d68afd15e2be840d925f}{get\-Page\-Size} ()
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classUtil_1_1SharedMemory_a24cfe30cb5a1bdfaf5cbe3d5db193bed}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!\-Shared\-Memory@{\-Shared\-Memory}}
\index{\-Shared\-Memory@{\-Shared\-Memory}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{\-Shared\-Memory}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Util\-::\-Shared\-Memory\-::\-Shared\-Memory} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1SharedMemory_a24cfe30cb5a1bdfaf5cbe3d5db193bed}
\hypertarget{classUtil_1_1SharedMemory_a7267789cb4f08d12db8f8d836df47abc}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!$\sim$\-Shared\-Memory@{$\sim$\-Shared\-Memory}}
\index{$\sim$\-Shared\-Memory@{$\sim$\-Shared\-Memory}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{$\sim$\-Shared\-Memory}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Util\-::\-Shared\-Memory\-::$\sim$\-Shared\-Memory} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1SharedMemory_a7267789cb4f08d12db8f8d836df47abc}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1SharedMemory_a7267789cb4f08d12db8f8d836df47abc_cgraph}
\end{center}
\end{figure}




\subsection{\-Member \-Function \-Documentation}
\hypertarget{classUtil_1_1SharedMemory_accb0ecc284142c82971e4dd6ba5a4fc5}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!create@{create}}
\index{create@{create}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Util\-::\-Shared\-Memory\-::create} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{size}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1SharedMemory_accb0ecc284142c82971e4dd6ba5a4fc5}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1SharedMemory_accb0ecc284142c82971e4dd6ba5a4fc5_icgraph}
\end{center}
\end{figure}


\hypertarget{classUtil_1_1SharedMemory_a6c4b295360b35658efee916de0a53090}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!create@{create}}
\index{create@{create}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Util\-::\-Shared\-Memory\-::create} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{size, }
\item[{const char $\ast$}]{system\-Name}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1SharedMemory_a6c4b295360b35658efee916de0a53090}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=328pt]{classUtil_1_1SharedMemory_a6c4b295360b35658efee916de0a53090_cgraph}
\end{center}
\end{figure}


\hypertarget{classUtil_1_1SharedMemory_acf7751ecce669f9c5e882e4d9c8b911f}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!export\-To\-Process@{export\-To\-Process}}
\index{export\-To\-Process@{export\-To\-Process}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{export\-To\-Process}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Shared\-Memory\-::\-Export} {\bf \-Util\-::\-Shared\-Memory\-::export\-To\-Process} (
\begin{DoxyParamCaption}
\item[{{\bf \-Remote\-Process} \&}]{target, }
\item[{bool}]{read\-Only}
\end{DoxyParamCaption}
) const}}\label{classUtil_1_1SharedMemory_acf7751ecce669f9c5e882e4d9c8b911f}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1SharedMemory_acf7751ecce669f9c5e882e4d9c8b911f_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1SharedMemory_acf7751ecce669f9c5e882e4d9c8b911f_icgraph}
\end{center}
\end{figure}


\hypertarget{classUtil_1_1SharedMemory_a02c2f6a36ebb3e99833352d75fdddea6}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!get\-Memory@{get\-Memory}}
\index{get\-Memory@{get\-Memory}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{get\-Memory}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Memory\-Frame} {\bf \-Util\-::\-Shared\-Memory\-::get\-Memory} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUtil_1_1SharedMemory_a02c2f6a36ebb3e99833352d75fdddea6}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1SharedMemory_a02c2f6a36ebb3e99833352d75fdddea6_icgraph}
\end{center}
\end{figure}


\hypertarget{classUtil_1_1SharedMemory_a8110e4d84102d68afd15e2be840d925f}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!get\-Page\-Size@{get\-Page\-Size}}
\index{get\-Page\-Size@{get\-Page\-Size}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{get\-Page\-Size}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-Util\-::\-Shared\-Memory\-::get\-Page\-Size} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}\label{classUtil_1_1SharedMemory_a8110e4d84102d68afd15e2be840d925f}
\hypertarget{classUtil_1_1SharedMemory_af2c7604bffa404d04b74295757e69080}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!import@{import}}
\index{import@{import}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{import}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Util\-::\-Shared\-Memory\-::import} (
\begin{DoxyParamCaption}
\item[{{\bf \-Export}}]{source}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1SharedMemory_af2c7604bffa404d04b74295757e69080}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1SharedMemory_af2c7604bffa404d04b74295757e69080_icgraph}
\end{center}
\end{figure}


\hypertarget{classUtil_1_1SharedMemory_a80d2f0f50b4a0c9414e11ae7fc86a0d5}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!pack@{pack}}
\index{pack@{pack}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{pack}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ {\bf \-Pointer}$<$\-T$>$ {\bf \-Util\-::\-Shared\-Memory\-::pack} (
\begin{DoxyParamCaption}
\item[{\-T $\ast$}]{pt}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classUtil_1_1SharedMemory_a80d2f0f50b4a0c9414e11ae7fc86a0d5}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1SharedMemory_a80d2f0f50b4a0c9414e11ae7fc86a0d5_icgraph}
\end{center}
\end{figure}


\hypertarget{classUtil_1_1SharedMemory_a2e7743a722f30d1eb62dda490e6422bb}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!release@{release}}
\index{release@{release}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{release}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Util\-::\-Shared\-Memory\-::release} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUtil_1_1SharedMemory_a2e7743a722f30d1eb62dda490e6422bb}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=332pt]{classUtil_1_1SharedMemory_a2e7743a722f30d1eb62dda490e6422bb_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1SharedMemory_a2e7743a722f30d1eb62dda490e6422bb_icgraph}
\end{center}
\end{figure}


\hypertarget{classUtil_1_1SharedMemory_ab394d660053919644dcf5aca89c8d6a4}{\index{\-Util\-::\-Shared\-Memory@{\-Util\-::\-Shared\-Memory}!unpack@{unpack}}
\index{unpack@{unpack}!Util::SharedMemory@{\-Util\-::\-Shared\-Memory}}
\subsubsection[{unpack}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ \-T$\ast$ {\bf \-Util\-::\-Shared\-Memory\-::unpack} (
\begin{DoxyParamCaption}
\item[{{\bf \-Pointer}$<$ \-T $>$}]{p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classUtil_1_1SharedMemory_ab394d660053919644dcf5aca89c8d6a4}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classUtil_1_1SharedMemory_ab394d660053919644dcf5aca89c8d6a4_icgraph}
\end{center}
\end{figure}




\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/\-Util/\-Source/\-Util/\hyperlink{SharedMemory_8h}{\-Shared\-Memory.\-h}\item 
trunk/bwapi/\-Util/\-Source/\-Util/\hyperlink{SharedMemory_8cpp}{\-Shared\-Memory.\-cpp}\end{DoxyCompactItemize}
