CARMA C++
sza::util::Pipe::PipeFd Struct Reference

Define a struct to encapsulate a file descriptor associated with either end of a pipe. More...

#include <carma/szautil/Pipe.h>

Public Member Functions

void fillPipeFd ()
 Initialize the pipe fds. More...
 
 PipeFd ()
 Constructor. More...
 
 ~PipeFd ()
 Destructor. More...
 

Public Attributes

int fd_
 The file descriptor. More...
 
pthread_cond_t retry_
 A condition variable which can be used for other threads to signal when the fd is readable or writable. More...
 
bool retryIsReady_
 True when retry has been initialized. More...
 

Detailed Description

Define a struct to encapsulate a file descriptor associated with either end of a pipe.

Definition at line 126 of file Pipe.h.

Constructor & Destructor Documentation

sza::util::Pipe::PipeFd::PipeFd ( )

Constructor.

sza::util::Pipe::PipeFd::~PipeFd ( )

Destructor.

Member Function Documentation

void sza::util::Pipe::PipeFd::fillPipeFd ( )

Initialize the pipe fds.

Exceptions
Exception

Member Data Documentation

int sza::util::Pipe::PipeFd::fd_

The file descriptor.

Definition at line 152 of file Pipe.h.

pthread_cond_t sza::util::Pipe::PipeFd::retry_

A condition variable which can be used for other threads to signal when the fd is readable or writable.

Definition at line 142 of file Pipe.h.

bool sza::util::Pipe::PipeFd::retryIsReady_

True when retry has been initialized.

Definition at line 147 of file Pipe.h.


The documentation for this struct was generated from the following file: