Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

CmdPipe Class Reference

#include <CmdPipe.h>

Collaboration diagram for CmdPipe:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CmdPipe (const char *command, const char *arg, int nicediff=0)
 ~CmdPipe (void)
unsigned long ewrite (const void *buf, unsigned long len)
unsigned long eread (void *buf, unsigned long len)
int get_read_fd (void) const
int get_write_fd (void) const
int probe (void) const

Public Attributes

bool fail

Protected Attributes

Pipe tocmd
Pipe fromcmd
int childpid

Constructor & Destructor Documentation

CmdPipe::CmdPipe const char *  command,
const char *  arg,
int  nicediff = 0
 

Definition at line 122 of file CmdPipe.cpp.

References childpid, fail, Pipe::fail, fprintf, fromcmd, Pipe::get_read_fd(), Pipe::get_write_fd(), kaputt(), and tocmd.

CmdPipe::~CmdPipe void   ) 
 

Definition at line 157 of file CmdPipe.cpp.

References childpid, and fprintf.


Member Function Documentation

unsigned long CmdPipe::eread void *  buf,
unsigned long  len
[inline]
 

Definition at line 67 of file CmdPipe.h.

References Pipe::eread(), and fromcmd.

unsigned long CmdPipe::ewrite const void *  buf,
unsigned long  len
[inline]
 

Definition at line 63 of file CmdPipe.h.

References Pipe::ewrite(), and tocmd.

int CmdPipe::get_read_fd void   )  const [inline]
 

Definition at line 71 of file CmdPipe.h.

References fromcmd, and Pipe::get_read_fd().

int CmdPipe::get_write_fd void   )  const [inline]
 

Definition at line 75 of file CmdPipe.h.

References Pipe::get_write_fd(), and tocmd.

int CmdPipe::probe void   )  const [inline]
 

Definition at line 79 of file CmdPipe.h.

References fromcmd, and Pipe::probe().


Member Data Documentation

int CmdPipe::childpid [protected]
 

Definition at line 54 of file CmdPipe.h.

Referenced by CmdPipe(), and ~CmdPipe().

bool CmdPipe::fail
 

Definition at line 58 of file CmdPipe.h.

Referenced by CmdPipe().

Pipe CmdPipe::fromcmd [protected]
 

Definition at line 52 of file CmdPipe.h.

Referenced by CmdPipe(), eread(), get_read_fd(), and probe().

Pipe CmdPipe::tocmd [protected]
 

Definition at line 51 of file CmdPipe.h.

Referenced by CmdPipe(), ewrite(), and get_write_fd().


The documentation for this class was generated from the following files:
Generated on Tue Feb 8 04:11:44 2005 for E32frodo by doxygen 1.3.3