Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Pipe Class Reference

#include <pipe.h>

List of all members.

Public Member Functions

 Pipe (char *command, char *sub_str=0, char sub_char= '%')
 ~Pipe ()
int open_read ()
int open_write ()
void close ()

Public Attributes

int fd

Private Member Functions

int substitute ()
int open (char *mode)

Private Attributes

char sub_char
char * sub_str
char * command
char complete [BCTEXTLEN]
FILE * file


Detailed Description

Definition at line 12 of file pipe.h.


Constructor & Destructor Documentation

Pipe::Pipe char *  command,
char *  sub_str = 0,
char  sub_char = '%'
 

Definition at line 21 of file pipe.C.

References complete, fd, file, and pipe_handle_sigpipe().

Pipe::~Pipe  ) 
 

Definition at line 34 of file pipe.C.

References close().


Member Function Documentation

void Pipe::close  ) 
 

Definition at line 123 of file pipe.C.

References fd, and file.

Referenced by YUVStream::close_fd(), open(), and ~Pipe().

int Pipe::open char *  mode  )  [private]
 

Definition at line 83 of file pipe.C.

References close(), complete, fd, file, fileno(), and substitute().

Referenced by open_read(), and open_write().

int Pipe::open_read  ) 
 

Definition at line 115 of file pipe.C.

References open().

int Pipe::open_write  ) 
 

Definition at line 119 of file pipe.C.

References open().

Referenced by YUVStream::open_write().

int Pipe::substitute  )  [private]
 

Definition at line 38 of file pipe.C.

References command, complete, sub_char, and sub_str.

Referenced by open().


Member Data Documentation

char* Pipe::command [private]
 

Definition at line 27 of file pipe.h.

Referenced by substitute().

char Pipe::complete[BCTEXTLEN] [private]
 

Definition at line 28 of file pipe.h.

Referenced by open(), Pipe(), and substitute().

int Pipe::fd
 

Definition at line 20 of file pipe.h.

Referenced by close(), open(), YUVStream::open_write(), and Pipe().

FILE* Pipe::file [private]
 

Definition at line 29 of file pipe.h.

Referenced by close(), open(), and Pipe().

char Pipe::sub_char [private]
 

Definition at line 25 of file pipe.h.

Referenced by substitute().

char* Pipe::sub_str [private]
 

Definition at line 26 of file pipe.h.

Referenced by substitute().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:18 2006 for Cinelerra-svn by  doxygen 1.4.4