vdr  2.0.4
Public Member Functions | Private Attributes | List of all members
cPipe Class Reference

#include <thread.h>

Public Member Functions

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

Private Attributes

pid_t pid
 
FILE * f
 

Detailed Description

Definition at line 189 of file thread.h.

Constructor & Destructor Documentation

cPipe::cPipe ( void  )

Definition at line 453 of file thread.c.

References f, and pid.

cPipe::~cPipe ( )

Definition at line 459 of file thread.c.

References Close().

Member Function Documentation

int cPipe::Close ( void  )

Definition at line 521 of file thread.c.

References f, LOG_ERROR, pid, and cCondWait::SleepMs().

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

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

Definition at line 464 of file thread.c.

References f, LOG_ERROR, LOG_ERROR_STR, and pid.

Referenced by cMenuCommands::Execute(), cExternalAudio::Play(), and cExternalAudio::PlayTs().

cPipe::operator FILE * ( )
inline

Definition at line 196 of file thread.h.

References f.

Member Data Documentation

FILE* cPipe::f
private

Definition at line 192 of file thread.h.

Referenced by Close(), cPipe(), Open(), and operator FILE *().

pid_t cPipe::pid
private

Definition at line 191 of file thread.h.

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


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