QCA::QPipe Class Reference

A FIFO buffer (named pipe) abstraction. More...

#include <qpipe.h>

Collaboration diagram for QCA::QPipe:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QPipe (QObject *parent=0)
void reset ()
bool create ()
QPipeEnd & readEnd ()
QPipeEnd & writeEnd ()

Detailed Description

A FIFO buffer (named pipe) abstraction.

This class creates a full buffer, consisting of two ends (QPipeEnd).

By default, the pipe ends are not inheritable by child processes. On Windows, the pipe is created with inheritability disabled. On Unix, the FD_CLOEXEC flag is set on each end's file descriptor.


Constructor & Destructor Documentation

QCA::QPipe::QPipe QObject parent = 0  ) 
 

Standard constructor.

Parameters:
parent the parent object for this object


Member Function Documentation

void QCA::QPipe::reset  ) 
 

reset the pipe

bool QCA::QPipe::create  ) 
 

create the pipe

QPipeEnd& QCA::QPipe::readEnd  )  [inline]
 

The read end of the pipe.

QPipeEnd& QCA::QPipe::writeEnd  )  [inline]
 

The write end of the pipe.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 12:15:52 2007 for Qt Cryptographic Architecture by  doxygen 1.4.6