\hypertarget{classCSingleton}{\section{\-C\-Singleton$<$ \-T $>$ \-Class \-Template \-Reference}
\label{classCSingleton}\index{\-C\-Singleton$<$ T $>$@{\-C\-Singleton$<$ T $>$}}
}


{\ttfamily \#include $<$\-C\-Singleton.\-h$>$}



\-Collaboration diagram for \-C\-Singleton$<$ \-T $>$\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=168pt]{classCSingleton__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static \-T \& \hyperlink{classCSingleton_a373d41ff8825bc597909f557d5bf6b61}{\-Instance} ()
\item 
static void \hyperlink{classCSingleton_af1b69c8eb29c5e68a51e8b7c58ad29ce}{\-Destroy} ()
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCSingleton_a9363c7dab54cf622af286b1732a323a2}{\-C\-Singleton} ()
\item 
\hyperlink{classCSingleton_a922fb42fefc56df7e4d23ae9ac718d45}{$\sim$\-C\-Singleton} ()
\end{DoxyCompactItemize}
\subsection*{\-Static \-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
static \-T $\ast$ \hyperlink{classCSingleton_a60aabd14251e31975e6a1de7241877b8}{\-Inst} = \hyperlink{CSingleton_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{\-N\-U\-L\-L}
\end{DoxyCompactItemize}
\subsubsection*{template$<$class \-T$>$ class C\-Singleton$<$ T $>$}



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classCSingleton_a9363c7dab54cf622af286b1732a323a2}{\index{\-C\-Singleton@{\-C\-Singleton}!\-C\-Singleton@{\-C\-Singleton}}
\index{\-C\-Singleton@{\-C\-Singleton}!CSingleton@{\-C\-Singleton}}
\subsubsection[{\-C\-Singleton}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class \-T$>$ {\bf \-C\-Singleton}$<$ \-T $>$\-::{\bf \-C\-Singleton} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, protected\mbox{]}}}}\label{classCSingleton_a9363c7dab54cf622af286b1732a323a2}
\hypertarget{classCSingleton_a922fb42fefc56df7e4d23ae9ac718d45}{\index{\-C\-Singleton@{\-C\-Singleton}!$\sim$\-C\-Singleton@{$\sim$\-C\-Singleton}}
\index{$\sim$\-C\-Singleton@{$\sim$\-C\-Singleton}!CSingleton@{\-C\-Singleton}}
\subsubsection[{$\sim$\-C\-Singleton}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class \-T$>$ {\bf \-C\-Singleton}$<$ \-T $>$\-::$\sim${\bf \-C\-Singleton} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, protected\mbox{]}}}}\label{classCSingleton_a922fb42fefc56df7e4d23ae9ac718d45}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classCSingleton_af1b69c8eb29c5e68a51e8b7c58ad29ce}{\index{\-C\-Singleton@{\-C\-Singleton}!\-Destroy@{\-Destroy}}
\index{\-Destroy@{\-Destroy}!CSingleton@{\-C\-Singleton}}
\subsubsection[{\-Destroy}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class \-T$>$ static void {\bf \-C\-Singleton}$<$ \-T $>$\-::{\bf \-Destroy} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}\label{classCSingleton_af1b69c8eb29c5e68a51e8b7c58ad29ce}
\hypertarget{classCSingleton_a373d41ff8825bc597909f557d5bf6b61}{\index{\-C\-Singleton@{\-C\-Singleton}!\-Instance@{\-Instance}}
\index{\-Instance@{\-Instance}!CSingleton@{\-C\-Singleton}}
\subsubsection[{\-Instance}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class \-T$>$ static \-T\& {\bf \-C\-Singleton}$<$ \-T $>$\-::{\bf \-Instance} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}\label{classCSingleton_a373d41ff8825bc597909f557d5bf6b61}


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




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classCSingleton_a60aabd14251e31975e6a1de7241877b8}{\index{\-C\-Singleton@{\-C\-Singleton}!\-Inst@{\-Inst}}
\index{\-Inst@{\-Inst}!CSingleton@{\-C\-Singleton}}
\subsubsection[{\-Inst}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class \-T$>$ \-T $\ast$ {\bf \-C\-Singleton}$<$ \-T $>$\-::{\bf \-Inst} = {\bf \-N\-U\-L\-L}\hspace{0.3cm}{\ttfamily  \mbox{[}static, protected\mbox{]}}}}\label{classCSingleton_a60aabd14251e31975e6a1de7241877b8}


\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Utils/\hyperlink{CSingleton_8h}{\-C\-Singleton.\-h}\end{DoxyCompactItemize}
