Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cPipe Class Reference

#include <thread.h>


Detailed Description

Pipe implementation.

Definition at line 117 of file thread.h.

Public Methods

 cPipe (void)
 ~cPipe ()
 operator FILE * ()
bool Open (const char *Command, const char *Mode)
int Close (void)

Private Attributes

pid_t pid
FILE * f


Constructor & Destructor Documentation

cPipe::cPipe void   
 

Definition at line 278 of file thread.c.

References f, and pid.

cPipe::~cPipe  
 

Definition at line 284 of file thread.c.

References Close().


Member Function Documentation

int cPipe::Close void   
 

Definition at line 347 of file thread.c.

References f, LOG_ERROR, and pid.

Referenced by cExternalAudio::Clear(), and ~cPipe().

bool cPipe::Open const char *    Command,
const char *    Mode
 

Definition at line 289 of file thread.c.

References f, LOG_ERROR, LOG_ERROR_STR, and pid.

Referenced by cExternalAudio::Play().

cPipe::operator FILE *   [inline]
 

Definition at line 129 of file thread.h.


Field Documentation

FILE* cPipe::f [private]
 

Definition at line 125 of file thread.h.

Referenced by Close(), cPipe(), and Open().

pid_t cPipe::pid [private]
 

cPipe implements a pipe that closes all unnecessary file descriptors in the child process.

Definition at line 124 of file thread.h.

Referenced by Close(), cPipe(), and Open().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:47 2003 for VDR by doxygen1.3-rc2