blob: e41d36cd066f1bef7fcd2cdb09c1f98b8f70d103 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
\hypertarget{PipeStream_8cc}{\section{Pipe\-Stream.\-cc File Reference}
\label{PipeStream_8cc}\index{Pipe\-Stream.\-cc@{Pipe\-Stream.\-cc}}
}
{\ttfamily \#include $<$config.\-h$>$}\\*
{\ttfamily \#include $<$Pipe\-Stream.\-h$>$}\\*
{\ttfamily \#include $<$Util.\-h$>$}\\*
{\ttfamily \#include $<$iostream$>$}\\*
{\ttfamily \#include $<$cstdio$>$}\\*
{\ttfamily \#include $<$cstdlib$>$}\\*
{\ttfamily \#include $<$cstring$>$}\\*
{\ttfamily \#include $<$cctype$>$}\\*
{\ttfamily \#include $<$cerrno$>$}\\*
{\ttfamily \#include $<$cassert$>$}\\*
{\ttfamily \#include $<$unistd.\-h$>$}\\*
{\ttfamily \#include $<$sys/signal.\-h$>$}\\*
{\ttfamily \#include $<$signal.\-h$>$}\\*
{\ttfamily \#include $<$sys/wait.\-h$>$}\\*
{\ttfamily \#include $<$sys/time.\-h$>$}\\*
{\ttfamily \#include $<$map$>$}\\*
{\ttfamily \#include $<$stringstream.\-h$>$}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item
struct \hyperlink{structPipeStreamSignalHandling_1_1process__status}{Pipe\-Stream\-Signal\-Handling\-::process\-\_\-status}
\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item
\hyperlink{namespacePipeStreamSignalHandling}{Pipe\-Stream\-Signal\-Handling}
\begin{DoxyCompactList}\small\item\em Takes care of the signal handling necessary for the functions in the \hyperlink{classPipeStream}{Pipe\-Stream} class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Constant Groups}
\begin{DoxyCompactItemize}
\item
\hyperlink{namespacePipeStreamSignalHandling}{Pipe\-Stream\-Signal\-Handling}
\begin{DoxyCompactList}\small\item\em Takes care of the signal handling necessary for the functions in the \hyperlink{classPipeStream}{Pipe\-Stream} class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item
bool \hyperlink{namespacePipeStreamSignalHandling_a14fc75f2dfb1f9f846dd02eb1133300a}{Pipe\-Stream\-Signal\-Handling\-::got\-\_\-status} (pid\-\_\-t pid, int $\ast$status)
\begin{DoxyCompactList}\small\item\em Checks to see if the given process has exited. \end{DoxyCompactList}\item
void \hyperlink{namespacePipeStreamSignalHandling_a5f702cc234291a2e4420a72f11e46168}{Pipe\-Stream\-Signal\-Handling\-::expect\-Another} () throw (\-Input\-Byte\-Stream\-Error)
\begin{DoxyCompactList}\small\item\em Note that we expect to start another child. \end{DoxyCompactList}\item
void \hyperlink{namespacePipeStreamSignalHandling_a17dd41fc8d2e35a6d36cc70aec0e436e}{Pipe\-Stream\-Signal\-Handling\-::childcatcher} (int)
\item
void \hyperlink{namespacePipeStreamSignalHandling_acede41909df52a0a5cbb2eb3892a728e}{Pipe\-Stream\-Signal\-Handling\-::alarmcatcher} (int)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item
struct process\-\_\-status $\ast$ \hyperlink{namespacePipeStreamSignalHandling_ae08548945a242c3110affb7c3ffa26f8}{Pipe\-Stream\-Signal\-Handling\-::procs} = 0
\item
sig\-\_\-atomic\-\_\-t \hyperlink{namespacePipeStreamSignalHandling_a087f29cce50ef65417b09901d6e217ea}{Pipe\-Stream\-Signal\-Handling\-::nprocs}
\item
sig\-\_\-atomic\-\_\-t \hyperlink{namespacePipeStreamSignalHandling_ad3b491952ebd58029bc34766eaa972e7}{Pipe\-Stream\-Signal\-Handling\-::nprocs\-\_\-used}
\end{DoxyCompactItemize}
|