vdr  1.7.31
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)
 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 186 of file include/vdr/thread.h.

Constructor & Destructor Documentation

cPipe::cPipe ( void  )

Definition at line 448 of file thread.c.

References f, and pid.

cPipe::~cPipe ( )

Definition at line 454 of file thread.c.

References Close().

cPipe::cPipe ( void  )
cPipe::~cPipe ( )

Member Function Documentation

int cPipe::Close ( void  )

Definition at line 516 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 459 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 193 of file thread.h.

References f.

cPipe::operator FILE * ( )
inline

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

References f.

Member Data Documentation

FILE * cPipe::f
private

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

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

pid_t cPipe::pid
private

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

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


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