scclib
Stable Cloud Computing C++ Library
|
Chain of readers base class. More...
#include <iopipeline.h>
Public Member Functions | |
InChain (const std::shared_ptr< Reader > &) | |
Create with base reader and read buffer size. More... | |
void | rd_replace_base (const std::shared_ptr< PipelineReader > &r) |
Replace the base writer with a new base writer. | |
void | rd_add_back (const std::shared_ptr< PipelineReader > &r) |
Add a reader to the end of the chain (before the base). | |
void | rd_add_front (const std::shared_ptr< PipelineReader > &r) |
Add a reader to the start of the chain (after the stream). | |
void | rd_del (const std::shared_ptr< PipelineReader > &) |
Delete a reader from the chain. | |
virtual std::shared_ptr< Reader > | rd_fix_chain () |
Fix the chain, and return the pointer that should be pointed to by the stream. | |
Public Attributes | |
std::shared_ptr< Reader > | rd_base |
std::list< std::shared_ptr< PipelineReader > > | rd_chain |
Chain of readers base class.
Definition at line 55 of file iopipeline.h.
InChain::InChain | ( | const std::shared_ptr< Reader > & | r | ) |