scclib
Stable Cloud Computing C++ Library
Public Member Functions | Public Attributes | List of all members
scc::util::InChain Struct Reference

Chain of readers base class. More...

#include <iopipeline.h>

Inheritance diagram for scc::util::InChain:
Inheritance graph
[legend]
Collaboration diagram for scc::util::InChain:
Collaboration graph
[legend]

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< Readerrd_fix_chain ()
 Fix the chain, and return the pointer that should be pointed to by the stream.
 

Public Attributes

std::shared_ptr< Readerrd_base
 
std::list< std::shared_ptr< PipelineReader > > rd_chain
 

Detailed Description

Chain of readers base class.

Definition at line 55 of file iopipeline.h.

Constructor & Destructor Documentation

◆ InChain()

InChain::InChain ( const std::shared_ptr< Reader > &  r)

Create with base reader and read buffer size.

pipelines

Definition at line 919 of file iostream.cc.


The documentation for this struct was generated from the following files: