vdr  1.7.27
Public Member Functions | Private Attributes
cPipe Class Reference

#include <thread.h>

List of all members.

Public Member Functions

 cPipe (void)
 ~cPipe ()
 operator FILE * ()
bool Open (const char *Command, const char *Mode)
int Close (void)
 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 163 of file include/vdr/thread.h.


Constructor & Destructor Documentation

cPipe::cPipe ( void  )

Definition at line 406 of file thread.c.

References f, and pid.

Definition at line 412 of file thread.c.

References Close().

cPipe::cPipe ( void  )

Member Function Documentation

int cPipe::Close ( void  )

Definition at line 474 of file thread.c.

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

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

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

Definition at line 417 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 170 of file thread.h.

References f.

cPipe::operator FILE * ( ) [inline]

Definition at line 170 of file include/vdr/thread.h.

References f.


Member Data Documentation

FILE * cPipe::f [private]

Definition at line 166 of file include/vdr/thread.h.

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

pid_t cPipe::pid [private]

Definition at line 165 of file include/vdr/thread.h.

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


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