Abstract class used as an intermediate pipe stage between executed processes. More...
Public Member Functions
|Constructor which clears m_impl and m_stageid. |
|void||write (const void *data, unsigned int datalen)|
|Write input data to the next pipe stage via a buffer. |
|class ExecPipeImpl *||m_impl|
|pointer to associated pipe filled by ExecPipe::add_function() |
|pipe stage identifier |
|association to the pipe implementation for write access to m_impl. |
Abstract class used as an intermediate pipe stage between executed processes.
Derived classes can be inserted into an execution pipe between two externally executed processes. It will receive all data from the preceding pipe stage and after processing it may forward output to the next pipe stage.
The class is derived from PipeSink and receives data from the preceding stage via the inherited functions process() and also the eof() signal. Usually process() will perform some action on the data and then forward the resulting data block to the next pipe stage via write().
|void stx::PipeFunction::write||(||const void *||data,|
|friend class ExecPipeImpl
|unsigned int stx::PipeFunction::m_stageid