\hypertarget{class_s_c_i_run_1_1_parallel4}{\section{Parallel4$<$ T, Arg1, Arg2, Arg3, Arg4 $>$ Class Template Reference}
\label{class_s_c_i_run_1_1_parallel4}\index{Parallel4$<$ T, Arg1, Arg2, Arg3, Arg4 $>$@{Parallel4$<$ T, Arg1, Arg2, Arg3, Arg4 $>$}}
}


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

Inheritance diagram for Parallel4$<$ T, Arg1, Arg2, Arg3, Arg4 $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_s_c_i_run_1_1_parallel4}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_s_c_i_run_1_1_parallel4_ab99760089acba65cfbbb48e8b7d52077}{Parallel4} (T $\ast$obj, void(T\-::$\ast$pmf)(int, Arg1, Arg2, Arg3, Arg4), Arg1 \hyperlink{class_s_c_i_run_1_1_parallel4_a90749de36889ee4b5cb8eaa0fca7abea}{a1}, Arg2 \hyperlink{class_s_c_i_run_1_1_parallel4_ac40dc819bac51ea957915947db4f99c9}{a2}, Arg3 \hyperlink{class_s_c_i_run_1_1_parallel4_a997c2d19cba1c6ccfa1ddfca9980e8b9}{a3}, Arg4 \hyperlink{class_s_c_i_run_1_1_parallel4_ae248d6f03731262b955909ed0fd895b7}{a4})
\item 
virtual \hyperlink{class_s_c_i_run_1_1_parallel4_a2e60ce3ab95cebf5391ffa4f5f9a9131}{$\sim$\-Parallel4} ()
\begin{DoxyCompactList}\small\item\em Destroy the \hyperlink{class_s_c_i_run_1_1_parallel4}{Parallel4} 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_parallel4_a25cfa5149e6b595c431c71bca1fabc2a}{obj\-\_\-}
\item 
void(T\-::$\ast$ \hyperlink{class_s_c_i_run_1_1_parallel4_a5c1d00e27d96d477eace7dfbf05342b1}{pmf\-\_\-} )(int, Arg1, Arg2, Arg3, Arg4)
\item 
Arg1 \hyperlink{class_s_c_i_run_1_1_parallel4_a90749de36889ee4b5cb8eaa0fca7abea}{a1}
\item 
Arg2 \hyperlink{class_s_c_i_run_1_1_parallel4_ac40dc819bac51ea957915947db4f99c9}{a2}
\item 
Arg3 \hyperlink{class_s_c_i_run_1_1_parallel4_a997c2d19cba1c6ccfa1ddfca9980e8b9}{a3}
\item 
Arg4 \hyperlink{class_s_c_i_run_1_1_parallel4_ae248d6f03731262b955909ed0fd895b7}{a4}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_parallel4_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_parallel4_ab99760089acba65cfbbb48e8b7d52077}{\index{S\-C\-I\-Run\-::\-Parallel4@{S\-C\-I\-Run\-::\-Parallel4}!Parallel4@{Parallel4}}
\index{Parallel4@{Parallel4}!SCIRun::Parallel4@{S\-C\-I\-Run\-::\-Parallel4}}
\subsubsection[{Parallel4}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Parallel4} (
\begin{DoxyParamCaption}
\item[{T $\ast$}]{obj, }
\item[{void(T\-::$\ast$)(int, Arg1, Arg2, Arg3, Arg4)}]{pmf, }
\item[{Arg1}]{a1, }
\item[{Arg2}]{a2, }
\item[{Arg3}]{a3, }
\item[{Arg4}]{a4}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_parallel4_ab99760089acba65cfbbb48e8b7d52077}
Create a \hyperlink{class_s_c_i_run_1_1_parallel4}{Parallel4} object, using the specified member function instead of {\itshape \hyperlink{class_s_c_i_run_1_1_parallel4}{Parallel4}}. This will typically be used like\-: {\bfseries 
\begin{DoxyPre}Thread::Parallel4(\hyperlink{class_s_c_i_run_1_1_parallel4}{Parallel4}<MyClass>(this, \&MyClass::mymemberfn), nthreads);\end{DoxyPre}
} \hypertarget{class_s_c_i_run_1_1_parallel4_a2e60ce3ab95cebf5391ffa4f5f9a9131}{\index{S\-C\-I\-Run\-::\-Parallel4@{S\-C\-I\-Run\-::\-Parallel4}!$\sim$\-Parallel4@{$\sim$\-Parallel4}}
\index{$\sim$\-Parallel4@{$\sim$\-Parallel4}!SCIRun::Parallel4@{S\-C\-I\-Run\-::\-Parallel4}}
\subsubsection[{$\sim$\-Parallel4}]{\setlength{\rightskip}{0pt plus 5cm}$\sim${\bf Parallel4} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_parallel4_a2e60ce3ab95cebf5391ffa4f5f9a9131}


Destroy the \hyperlink{class_s_c_i_run_1_1_parallel4}{Parallel4} object -\/ the threads will remain alive. 



\subsection{Member Function Documentation}
\hypertarget{class_s_c_i_run_1_1_parallel4_a652b0b2e4ed18c7199e133ef6f091b69}{\index{S\-C\-I\-Run\-::\-Parallel4@{S\-C\-I\-Run\-::\-Parallel4}!run@{run}}
\index{run@{run}!SCIRun::Parallel4@{S\-C\-I\-Run\-::\-Parallel4}}
\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_parallel4_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_parallel4_a90749de36889ee4b5cb8eaa0fca7abea}{\index{S\-C\-I\-Run\-::\-Parallel4@{S\-C\-I\-Run\-::\-Parallel4}!a1@{a1}}
\index{a1@{a1}!SCIRun::Parallel4@{S\-C\-I\-Run\-::\-Parallel4}}
\subsubsection[{a1}]{\setlength{\rightskip}{0pt plus 5cm}Arg1 a1}}\label{class_s_c_i_run_1_1_parallel4_a90749de36889ee4b5cb8eaa0fca7abea}
\hypertarget{class_s_c_i_run_1_1_parallel4_ac40dc819bac51ea957915947db4f99c9}{\index{S\-C\-I\-Run\-::\-Parallel4@{S\-C\-I\-Run\-::\-Parallel4}!a2@{a2}}
\index{a2@{a2}!SCIRun::Parallel4@{S\-C\-I\-Run\-::\-Parallel4}}
\subsubsection[{a2}]{\setlength{\rightskip}{0pt plus 5cm}Arg2 a2}}\label{class_s_c_i_run_1_1_parallel4_ac40dc819bac51ea957915947db4f99c9}
\hypertarget{class_s_c_i_run_1_1_parallel4_a997c2d19cba1c6ccfa1ddfca9980e8b9}{\index{S\-C\-I\-Run\-::\-Parallel4@{S\-C\-I\-Run\-::\-Parallel4}!a3@{a3}}
\index{a3@{a3}!SCIRun::Parallel4@{S\-C\-I\-Run\-::\-Parallel4}}
\subsubsection[{a3}]{\setlength{\rightskip}{0pt plus 5cm}Arg3 a3}}\label{class_s_c_i_run_1_1_parallel4_a997c2d19cba1c6ccfa1ddfca9980e8b9}
\hypertarget{class_s_c_i_run_1_1_parallel4_ae248d6f03731262b955909ed0fd895b7}{\index{S\-C\-I\-Run\-::\-Parallel4@{S\-C\-I\-Run\-::\-Parallel4}!a4@{a4}}
\index{a4@{a4}!SCIRun::Parallel4@{S\-C\-I\-Run\-::\-Parallel4}}
\subsubsection[{a4}]{\setlength{\rightskip}{0pt plus 5cm}Arg4 a4}}\label{class_s_c_i_run_1_1_parallel4_ae248d6f03731262b955909ed0fd895b7}
\hypertarget{class_s_c_i_run_1_1_parallel4_a25cfa5149e6b595c431c71bca1fabc2a}{\index{S\-C\-I\-Run\-::\-Parallel4@{S\-C\-I\-Run\-::\-Parallel4}!obj\-\_\-@{obj\-\_\-}}
\index{obj\-\_\-@{obj\-\_\-}!SCIRun::Parallel4@{S\-C\-I\-Run\-::\-Parallel4}}
\subsubsection[{obj\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}T$\ast$ obj\-\_\-}}\label{class_s_c_i_run_1_1_parallel4_a25cfa5149e6b595c431c71bca1fabc2a}
\hypertarget{class_s_c_i_run_1_1_parallel4_a5c1d00e27d96d477eace7dfbf05342b1}{\index{S\-C\-I\-Run\-::\-Parallel4@{S\-C\-I\-Run\-::\-Parallel4}!pmf\-\_\-@{pmf\-\_\-}}
\index{pmf\-\_\-@{pmf\-\_\-}!SCIRun::Parallel4@{S\-C\-I\-Run\-::\-Parallel4}}
\subsubsection[{pmf\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}void(T\-::$\ast$ pmf\-\_\-)(int, Arg1, Arg2, Arg3, Arg4)}}\label{class_s_c_i_run_1_1_parallel4_a5c1d00e27d96d477eace7dfbf05342b1}


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