vdr  2.2.0
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 192 of file thread.h.

Constructor & Destructor Documentation

◆ cPipe()

cPipe::cPipe ( void  )

Definition at line 453 of file thread.c.

◆ ~cPipe()

cPipe::~cPipe ( )

Definition at line 459 of file thread.c.

Member Function Documentation

◆ Close()

int cPipe::Close ( void  )

Definition at line 520 of file thread.c.

References LOG_ERROR, and cCondWait::SleepMs().

Referenced by cMenuCommands::Execute().

◆ Open()

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

Definition at line 464 of file thread.c.

References LOG_ERROR, and LOG_ERROR_STR.

Referenced by cMenuCommands::Execute().

◆ operator FILE *()

cPipe::operator FILE * ( )
inline

Definition at line 199 of file thread.h.

References SystemExec().

Member Data Documentation

◆ f

FILE* cPipe::f
private

Definition at line 195 of file thread.h.

◆ pid

pid_t cPipe::pid
private

Definition at line 194 of file thread.h.


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