stx::PipeSink Class Reference

Abstract class used as an output stream source for an ExecPipe. More...

#include <stx-execpipe.h>

Inheritance diagram for stx::PipeSink:
stx::PipeFunction

List of all members.

Public Member Functions

virtual void process (const void *data, unsigned int datalen)=0
 Pure virtual function which receives the output stream as read from the final or preceding pipe stage.
virtual void eof ()=0
 Pure virtual function called when the final or preceding pipe stage finishes.

Detailed Description

Abstract class used as an output stream source for an ExecPipe.

Derived classes can be attached to the end of an execution pipe. It will receive all data outputted by the final pipe stage.

Data read from the final or preceding stage is passed to the class via process(). When the final stage closes the pipe, the function eof() is called.

Definition at line 74 of file stx-execpipe.h.


Member Function Documentation

virtual void stx::PipeSink::eof (  )  [pure virtual]

Pure virtual function called when the final or preceding pipe stage finishes.

virtual void stx::PipeSink::process ( const void *  data,
unsigned int  datalen 
) [pure virtual]

Pure virtual function which receives the output stream as read from the final or preceding pipe stage.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Generated on Fri Jul 30 17:07:13 2010 for STX Execution Pipe by  doxygen 1.6.3