A class to encapsulate a pipe.
More...
#include <carma/szautil/PipeQueue.h>
|
| PipeQueue () |
| Constructor. More...
|
|
PipeState | read (void *buffer, size_t nbyte, long timeout=PIPE_NOWAIT) |
| Read from the pipe. More...
|
|
PipeState | write (void *buffer, size_t nbyte, long timeout=PIPE_NOWAIT) |
| Write to the pipe. More...
|
|
| ~PipeQueue () |
| Destructor. More...
|
|
int | fd () |
| Return the file descriptor associated with this pipe. More...
|
|
| Pipe () |
| Constructor. More...
|
|
int | readFd () |
|
virtual void | readPipe (void *buffer, size_t nbyte, long timeout) |
| Read from the pipe. More...
|
|
fd_set | rfds () |
| Return an intialized set of readable file descriptors associated with this queue. More...
|
|
int | writeFd () |
|
virtual void | writePipe (void *buffer, size_t nbyte, long timeout) |
| Write to the pipe. More...
|
|
virtual | ~Pipe () |
| Destructor. More...
|
|
|
MsgQueue | messages_ |
|
Mutex | queueGuard_ |
|
A class to encapsulate a pipe.
Definition at line 22 of file PipeQueue.h.
sza::util::PipeQueue::PipeQueue |
( |
| ) |
|
sza::util::PipeQueue::~PipeQueue |
( |
| ) |
|
PipeState sza::util::PipeQueue::read |
( |
void * |
buffer, |
|
|
size_t |
nbyte, |
|
|
long |
timeout = PIPE_NOWAIT |
|
) |
| |
|
virtual |
PipeState sza::util::PipeQueue::write |
( |
void * |
buffer, |
|
|
size_t |
nbyte, |
|
|
long |
timeout = PIPE_NOWAIT |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following file: