\hypertarget{class_s_c_i_run_1_1_parallel1}{\section{Parallel1$<$ T, Arg1 $>$ Class Template Reference}
\label{class_s_c_i_run_1_1_parallel1}\index{Parallel1$<$ T, Arg1 $>$@{Parallel1$<$ T, Arg1 $>$}}
}


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

Inheritance diagram for Parallel1$<$ T, Arg1 $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_s_c_i_run_1_1_parallel1}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_s_c_i_run_1_1_parallel1_ac49ed8cde304a535770bbc193c63794a}{Parallel1} (T $\ast$obj, void(T\-::$\ast$pmf)(int, Arg1), Arg1 \hyperlink{class_s_c_i_run_1_1_parallel1_a90749de36889ee4b5cb8eaa0fca7abea}{a1})
\item 
virtual \hyperlink{class_s_c_i_run_1_1_parallel1_aec725ab353044518f943bac408358e9f}{$\sim$\-Parallel1} ()
\begin{DoxyCompactList}\small\item\em Destroy the \hyperlink{class_s_c_i_run_1_1_parallel1}{Parallel1} object -\/ the threads will remain alive. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
T $\ast$ \hyperlink{class_s_c_i_run_1_1_parallel1_a25cfa5149e6b595c431c71bca1fabc2a}{obj\-\_\-}
\item 
void(T\-::$\ast$ \hyperlink{class_s_c_i_run_1_1_parallel1_af99829f8cea873a4344f05b1c188f0e4}{pmf\-\_\-} )(int, Arg1)
\item 
Arg1 \hyperlink{class_s_c_i_run_1_1_parallel1_a90749de36889ee4b5cb8eaa0fca7abea}{a1}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_parallel1_a652b0b2e4ed18c7199e133ef6f091b69}{run} (int proc)
\begin{DoxyCompactList}\small\item\em {\itshape The thread body} \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_s_c_i_run_1_1_parallel1_ac49ed8cde304a535770bbc193c63794a}{\index{S\-C\-I\-Run\-::\-Parallel1@{S\-C\-I\-Run\-::\-Parallel1}!Parallel1@{Parallel1}}
\index{Parallel1@{Parallel1}!SCIRun::Parallel1@{S\-C\-I\-Run\-::\-Parallel1}}
\subsubsection[{Parallel1}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Parallel1} (
\begin{DoxyParamCaption}
\item[{T $\ast$}]{obj, }
\item[{void(T\-::$\ast$)(int, Arg1)}]{pmf, }
\item[{Arg1}]{a1}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_parallel1_ac49ed8cde304a535770bbc193c63794a}
Create a \hyperlink{class_s_c_i_run_1_1_parallel1}{Parallel1} object, using the specified member function instead of {\itshape \hyperlink{class_s_c_i_run_1_1_parallel1}{Parallel1}}. This will typically be used like\-: {\bfseries 
\begin{DoxyPre}Thread::Parallel1(\hyperlink{class_s_c_i_run_1_1_parallel1}{Parallel1}<MyClass>(this, \&MyClass::mymemberfn), nthreads);\end{DoxyPre}
} \hypertarget{class_s_c_i_run_1_1_parallel1_aec725ab353044518f943bac408358e9f}{\index{S\-C\-I\-Run\-::\-Parallel1@{S\-C\-I\-Run\-::\-Parallel1}!$\sim$\-Parallel1@{$\sim$\-Parallel1}}
\index{$\sim$\-Parallel1@{$\sim$\-Parallel1}!SCIRun::Parallel1@{S\-C\-I\-Run\-::\-Parallel1}}
\subsubsection[{$\sim$\-Parallel1}]{\setlength{\rightskip}{0pt plus 5cm}$\sim${\bf Parallel1} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_parallel1_aec725ab353044518f943bac408358e9f}


Destroy the \hyperlink{class_s_c_i_run_1_1_parallel1}{Parallel1} object -\/ the threads will remain alive. 



\subsection{Member Function Documentation}
\hypertarget{class_s_c_i_run_1_1_parallel1_a652b0b2e4ed18c7199e133ef6f091b69}{\index{S\-C\-I\-Run\-::\-Parallel1@{S\-C\-I\-Run\-::\-Parallel1}!run@{run}}
\index{run@{run}!SCIRun::Parallel1@{S\-C\-I\-Run\-::\-Parallel1}}
\subsubsection[{run}]{\setlength{\rightskip}{0pt plus 5cm}void run (
\begin{DoxyParamCaption}
\item[{int}]{proc}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_parallel1_a652b0b2e4ed18c7199e133ef6f091b69}


{\itshape The thread body} 



Implements \hyperlink{class_s_c_i_run_1_1_parallel_base_a18dfc4da7bde00abccdc3e45765fbf88}{Parallel\-Base}.



\subsection{Member Data Documentation}
\hypertarget{class_s_c_i_run_1_1_parallel1_a90749de36889ee4b5cb8eaa0fca7abea}{\index{S\-C\-I\-Run\-::\-Parallel1@{S\-C\-I\-Run\-::\-Parallel1}!a1@{a1}}
\index{a1@{a1}!SCIRun::Parallel1@{S\-C\-I\-Run\-::\-Parallel1}}
\subsubsection[{a1}]{\setlength{\rightskip}{0pt plus 5cm}Arg1 a1}}\label{class_s_c_i_run_1_1_parallel1_a90749de36889ee4b5cb8eaa0fca7abea}
\hypertarget{class_s_c_i_run_1_1_parallel1_a25cfa5149e6b595c431c71bca1fabc2a}{\index{S\-C\-I\-Run\-::\-Parallel1@{S\-C\-I\-Run\-::\-Parallel1}!obj\-\_\-@{obj\-\_\-}}
\index{obj\-\_\-@{obj\-\_\-}!SCIRun::Parallel1@{S\-C\-I\-Run\-::\-Parallel1}}
\subsubsection[{obj\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}T$\ast$ obj\-\_\-}}\label{class_s_c_i_run_1_1_parallel1_a25cfa5149e6b595c431c71bca1fabc2a}
\hypertarget{class_s_c_i_run_1_1_parallel1_af99829f8cea873a4344f05b1c188f0e4}{\index{S\-C\-I\-Run\-::\-Parallel1@{S\-C\-I\-Run\-::\-Parallel1}!pmf\-\_\-@{pmf\-\_\-}}
\index{pmf\-\_\-@{pmf\-\_\-}!SCIRun::Parallel1@{S\-C\-I\-Run\-::\-Parallel1}}
\subsubsection[{pmf\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}void(T\-::$\ast$ pmf\-\_\-)(int, Arg1)}}\label{class_s_c_i_run_1_1_parallel1_af99829f8cea873a4344f05b1c188f0e4}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Core/\-Thread/\-Legacy/\hyperlink{_parallel1_8h}{Parallel1.\-h}\end{DoxyCompactItemize}
