Abstract class used as an output stream source for an ExecPipe. More...
#include <stx-execpipe.h>
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. |
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.
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.