System documentation of the GNU Image-Finding Tool

Public Member Functions | Protected Attributes | List of all members
CRPipe Class Reference

A reaper that closes a pipe after the piping child has exited. More...

#include <CRPipe.h>

Inheritance diagram for CRPipe:
CReaper

Public Member Functions

 CRPipe (int inPID, int inPipeToClose)
 get the pipe to close
 
virtual void reap ()
 do the real action
 
- Public Member Functions inherited from CReaper
 CReaper (int inPID)
 the PID for which this reaper is responsible
 
int getPID () const
 get the PID of this reaper
 

Protected Attributes

int mPipeToClose
 when receiving a sigchild, this has to close the outgoing pipe
 
- Protected Attributes inherited from CReaper
int mPID
 the ID of the process to which the reaper belongs
 

Detailed Description

A reaper that closes a pipe after the piping child has exited.

Author
: Wolfgang Mueller

The documentation for this class was generated from the following file:

Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen