adbncfs  0.9.1
Public Member Functions | Private Attributes | List of all members
Cpipe Class Reference

Wrapping pipe in a class makes sure they are closed when we leave scope. More...

#include <spawn.h>

Public Member Functions

 Cpipe ()
 
virtual ~Cpipe ()
 
const int readFd () const
 
const int writeFd () const
 
void close ()
 

Private Attributes

int m_aiFd [2]
 

Detailed Description

Wrapping pipe in a class makes sure they are closed when we leave scope.

Definition at line 33 of file spawn.h.

Constructor & Destructor Documentation

Cpipe::Cpipe ( )

Definition at line 37 of file spawn.cpp.

Cpipe::~Cpipe ( )
virtual

Definition at line 63 of file spawn.cpp.

Member Function Documentation

void Cpipe::close ( )

Definition at line 57 of file spawn.cpp.

Here is the caller graph for this function:

const int Cpipe::readFd ( ) const
inline

Definition at line 47 of file spawn.cpp.

Here is the caller graph for this function:

const int Cpipe::writeFd ( ) const
inline

Definition at line 52 of file spawn.cpp.

Here is the caller graph for this function:

Member Data Documentation

int Cpipe::m_aiFd[2]
private

Definition at line 45 of file spawn.h.


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