Pipe Class Reference

#include <pipe.h>


Public Member Functions

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

Data Fields

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 23 of file pipe.C.

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

Here is the call graph for this function:

Pipe::~Pipe (  ) 

Definition at line 37 of file pipe.C.

References close().

Here is the call graph for this function:


Member Function Documentation

int Pipe::open_read (  ) 

Definition at line 128 of file pipe.C.

References open().

Here is the call graph for this function:

int Pipe::open_write (  ) 

Definition at line 133 of file pipe.C.

References open().

Referenced by YUVStream::open_write().

Here is the call graph for this function:

void Pipe::close (  ) 

Definition at line 138 of file pipe.C.

References fd, and file.

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

int Pipe::substitute (  )  [private]

Definition at line 42 of file pipe.C.

References c, command, complete, NULL, sub_char, and sub_str.

Referenced by open().

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

Definition at line 93 of file pipe.C.

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

Referenced by open_read(), and open_write().

Here is the call graph for this function:


Field Documentation

int Pipe::fd

Definition at line 20 of file pipe.h.

Referenced by close(), open(), YUVStream::open_write(), 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().

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().

FILE* Pipe::file [private]

Definition at line 29 of file pipe.h.

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


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

Generated on Mon Apr 28 14:35:14 2008 for Cinelerra by  doxygen 1.5.5