\hypertarget{_singleton_8h}{\section{Core/\-Utils/\-Singleton.h File Reference}
\label{_singleton_8h}\index{Core/\-Utils/\-Singleton.\-h@{Core/\-Utils/\-Singleton.\-h}}
}
{\ttfamily \#include $<$boost/thread/mutex.\-hpp$>$}\\*
{\ttfamily \#include $<$boost/noncopyable.\-hpp$>$}\\*
{\ttfamily \#include $<$Core/\-Utils/share.\-h$>$}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_s_c_i_run_1_1_core_1_1_singleton}{Singleton$<$ T $>$}
\begin{DoxyCompactList}\small\item\em N\-O\-T\-E\-: This singleton model requires that the project is linked statically. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespace_s_c_i_run}{S\-C\-I\-Run}
\begin{DoxyCompactList}\small\item\em S\-T\-L datatypes needed. \end{DoxyCompactList}\item 
\hyperlink{namespace_s_c_i_run_1_1_core}{S\-C\-I\-Run\-::\-Core}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{_singleton_8h_a2e74253e5c334c1e5a28bfae90dbbed5}{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N}(\hyperlink{_boost_graph_example_tests_8cc_a8ad72759d07f18eaf8f6690e5dfb747c}{name})
\item 
\#define \hyperlink{_singleton_8h_ab5c2e5b0e5627649b0d2d372389e9dd4}{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N\-\_\-\-I\-M\-P\-L\-E\-M\-E\-N\-T\-A\-T\-I\-O\-N}(\hyperlink{_boost_graph_example_tests_8cc_a8ad72759d07f18eaf8f6690e5dfb747c}{name})~\hyperlink{class_s_c_i_run_1_1_core_1_1_singleton}{S\-C\-I\-Run\-::\-Core\-::\-Singleton}$<$\hyperlink{_boost_graph_example_tests_8cc_a8ad72759d07f18eaf8f6690e5dfb747c}{name}$>$ name\-::instance\-\_\-;
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{_singleton_8h_a2e74253e5c334c1e5a28bfae90dbbed5}{\index{Singleton.\-h@{Singleton.\-h}!C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N@{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N}}
\index{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N@{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N}!Singleton.h@{Singleton.\-h}}
\subsubsection[{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N(
\begin{DoxyParamCaption}
\item[{}]{{\bf name}}
\end{DoxyParamCaption}
)}}\label{_singleton_8h_a2e74253e5c334c1e5a28bfae90dbbed5}
{\bfseries Value\-:}
\begin{DoxyCode}
\textcolor{keyword}{public}:\(\backslash\)
    friend \textcolor{keyword}{class }\hyperlink{class_s_c_i_run_1_1_core_1_1_singleton}{SCIRun::Core::Singleton}<\hyperlink{_boost_graph_example_tests_8cc_a8ad72759d07f18eaf8f6690e5dfb747c}{name}>;\(\backslash\)
    static \hyperlink{_boost_graph_example_tests_8cc_a8ad72759d07f18eaf8f6690e5dfb747c}{name}& Instance() \{ \textcolor{keywordflow}{return} instance\_.instance(); \}\(\backslash\)
\hyperlink{_thread__none_8cc_a6a1d6e1a12975a4e9a0b5b952e79eaad}{\(\backslash\)}
\hyperlink{_thread__none_8cc_a6a1d6e1a12975a4e9a0b5b952e79eaad}{private}:\(\backslash\)
    static \hyperlink{class_s_c_i_run_1_1_core_1_1_singleton}{SCIRun::Core::Singleton<name>} instance\_;\(\backslash\)
\end{DoxyCode}
\hypertarget{_singleton_8h_ab5c2e5b0e5627649b0d2d372389e9dd4}{\index{Singleton.\-h@{Singleton.\-h}!C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N\-\_\-\-I\-M\-P\-L\-E\-M\-E\-N\-T\-A\-T\-I\-O\-N@{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N\-\_\-\-I\-M\-P\-L\-E\-M\-E\-N\-T\-A\-T\-I\-O\-N}}
\index{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N\-\_\-\-I\-M\-P\-L\-E\-M\-E\-N\-T\-A\-T\-I\-O\-N@{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N\-\_\-\-I\-M\-P\-L\-E\-M\-E\-N\-T\-A\-T\-I\-O\-N}!Singleton.h@{Singleton.\-h}}
\subsubsection[{C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N\-\_\-\-I\-M\-P\-L\-E\-M\-E\-N\-T\-A\-T\-I\-O\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-O\-R\-E\-\_\-\-S\-I\-N\-G\-L\-E\-T\-O\-N\-\_\-\-I\-M\-P\-L\-E\-M\-E\-N\-T\-A\-T\-I\-O\-N(
\begin{DoxyParamCaption}
\item[{}]{{\bf name}}
\end{DoxyParamCaption}
)~{\bf S\-C\-I\-Run\-::\-Core\-::\-Singleton}$<${\bf name}$>$ name\-::instance\-\_\-;}}\label{_singleton_8h_ab5c2e5b0e5627649b0d2d372389e9dd4}
