\section{Basic\-Process Class Reference}
\label{class_basic_process}\index{BasicProcess@{BasicProcess}}
{\tt \#include $<$Basic\-Process.h$>$}

\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf dir\_\-t} \{ {\bf TO\_\-CHILD}, 
{\bf FROM\_\-CHILD}
 \}
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Basic\-Process} ()
\item 
{\bf $\sim$Basic\-Process} ()
\item 
void {\bf exec} (std::list$<$ std::string $>$ \&args)
\item 
void {\bf exec} (char $\ast$args)
\item 
void {\bf exec} (char $\ast$argv[$\,$])
\item 
{\bf Basic\-Pipe} $\ast$ {\bf get\-Child\-Pipe} ({\bf dir\_\-t} dir, int child\-FD=-1)
\item 
int {\bf get\-PID} ()
\item 
void {\bf kill} (int sig)
\item 
int {\bf wait} (int options=0)
\item 
bool {\bf is\-Running} ()
\item 
int {\bf get\-Return\-Code} ()
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
void {\bf parse\-Args} (char $\ast$args, int \&argc, char $\ast$argv[$\,$], int n)
\end{CompactItemize}
\subsection*{Private Types}
\begin{CompactItemize}
\item 
typedef std::list$<$ {\bf Child\-Pipe} $\ast$ $>$ {\bf pipes\_\-t}
\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
{\bf pipes\_\-t} {\bf pipes}
\item 
int {\bf pid}
\item 
bool {\bf running}
\item 
int {\bf return\-Code}
\end{CompactItemize}


\subsection{Member Typedef Documentation}
\index{BasicProcess@{Basic\-Process}!pipes_t@{pipes\_\-t}}
\index{pipes_t@{pipes\_\-t}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef std::list$<${\bf Child\-Pipe} $\ast$$>$ {\bf Basic\-Process::pipes\_\-t}\hspace{0.3cm}{\tt  [private]}}\label{class_basic_process_y0}




\subsection{Member Enumeration Documentation}
\index{BasicProcess@{Basic\-Process}!dir_t@{dir\_\-t}}
\index{dir_t@{dir\_\-t}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Basic\-Process::dir\_\-t}}\label{class_basic_process_w2}


\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{TO_CHILD@{TO\_\-CHILD}!BasicProcess@{BasicProcess}}\index{BasicProcess@{BasicProcess}!TO_CHILD@{TO\_\-CHILD}}\item[{\em 
TO\_\-CHILD\label{class_basic_process_w2w0}
}]\index{FROM_CHILD@{FROM\_\-CHILD}!BasicProcess@{BasicProcess}}\index{BasicProcess@{BasicProcess}!FROM_CHILD@{FROM\_\-CHILD}}\item[{\em 
FROM\_\-CHILD\label{class_basic_process_w2w1}
}]\end{description}
\end{Desc}



\subsection{Constructor \& Destructor Documentation}
\index{BasicProcess@{Basic\-Process}!BasicProcess@{BasicProcess}}
\index{BasicProcess@{BasicProcess}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Basic\-Process::Basic\-Process ()}\label{class_basic_process_a0}


\index{BasicProcess@{Basic\-Process}!~BasicProcess@{$\sim$BasicProcess}}
\index{~BasicProcess@{$\sim$BasicProcess}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Basic\-Process::$\sim${\bf Basic\-Process} ()}\label{class_basic_process_a1}




\subsection{Member Function Documentation}
\index{BasicProcess@{Basic\-Process}!exec@{exec}}
\index{exec@{exec}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Basic\-Process::exec (char $\ast$ {\em argv}[$\,$])}\label{class_basic_process_a4}


\index{BasicProcess@{Basic\-Process}!exec@{exec}}
\index{exec@{exec}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Basic\-Process::exec (char $\ast$ {\em args})}\label{class_basic_process_a3}


\index{BasicProcess@{Basic\-Process}!exec@{exec}}
\index{exec@{exec}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Basic\-Process::exec (std::list$<$ std::string $>$ \& {\em args})}\label{class_basic_process_a2}


\index{BasicProcess@{Basic\-Process}!getChildPipe@{getChildPipe}}
\index{getChildPipe@{getChildPipe}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Basic\-Pipe} $\ast$ Basic\-Process::get\-Child\-Pipe ({\bf dir\_\-t} {\em dir}, int {\em child\-FD} = {\tt -1})}\label{class_basic_process_a5}


\index{BasicProcess@{Basic\-Process}!getPID@{getPID}}
\index{getPID@{getPID}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Basic\-Process::get\-PID ()\hspace{0.3cm}{\tt  [inline]}}\label{class_basic_process_a6}


\index{BasicProcess@{Basic\-Process}!getReturnCode@{getReturnCode}}
\index{getReturnCode@{getReturnCode}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Basic\-Process::get\-Return\-Code ()\hspace{0.3cm}{\tt  [inline]}}\label{class_basic_process_a10}


\index{BasicProcess@{Basic\-Process}!isRunning@{isRunning}}
\index{isRunning@{isRunning}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Basic\-Process::is\-Running ()}\label{class_basic_process_a9}


\index{BasicProcess@{Basic\-Process}!kill@{kill}}
\index{kill@{kill}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Basic\-Process::kill (int {\em sig})}\label{class_basic_process_a7}


\index{BasicProcess@{Basic\-Process}!parseArgs@{parseArgs}}
\index{parseArgs@{parseArgs}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Basic\-Process::parse\-Args (char $\ast$ {\em args}, int \& {\em argc}, char $\ast$ {\em argv}[$\,$], int {\em n})\hspace{0.3cm}{\tt  [static]}}\label{class_basic_process_e0}


\index{BasicProcess@{Basic\-Process}!wait@{wait}}
\index{wait@{wait}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Basic\-Process::wait (int {\em options} = {\tt 0})}\label{class_basic_process_a8}




\subsection{Member Data Documentation}
\index{BasicProcess@{Basic\-Process}!pid@{pid}}
\index{pid@{pid}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Basic\-Process::pid}\hspace{0.3cm}{\tt  [private]}}\label{class_basic_process_r1}


\index{BasicProcess@{Basic\-Process}!pipes@{pipes}}
\index{pipes@{pipes}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf pipes\_\-t} {\bf Basic\-Process::pipes}\hspace{0.3cm}{\tt  [private]}}\label{class_basic_process_r0}


\index{BasicProcess@{Basic\-Process}!returnCode@{returnCode}}
\index{returnCode@{returnCode}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf Basic\-Process::return\-Code}\hspace{0.3cm}{\tt  [private]}}\label{class_basic_process_r3}


\index{BasicProcess@{Basic\-Process}!running@{running}}
\index{running@{running}!BasicProcess@{Basic\-Process}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool {\bf Basic\-Process::running}\hspace{0.3cm}{\tt  [private]}}\label{class_basic_process_r2}




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
{\bf Basic\-Process.h}\item 
{\bf Basic\-Process.cpp}\end{CompactItemize}
