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

Chain of writers base class. More...

#include <iopipeline.h>

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

Public Member Functions

 OutChain (const std::shared_ptr< Writer > &)
 Create with base writer and write buffer size.
 
void wr_replace_base (const std::shared_ptr< PipelineWriter > &w)
 Replace the base writer with a new base writer.
 
void wr_add_back (const std::shared_ptr< PipelineWriter > &w)
 Add a writer to the end of the chain (before the base).
 
void wr_add_front (const std::shared_ptr< PipelineWriter > &w)
 Add a writer to the start of the chain (after the stream).
 
void wr_del (const std::shared_ptr< PipelineWriter > &)
 Delete a writer from the chain.
 
virtual std::shared_ptr< Writerwr_fix_chain ()
 Fix the chain, and return the pointer that should be pointed to by the stream.
 

Public Attributes

std::shared_ptr< Writerwr_base
 
std::list< std::shared_ptr< PipelineWriter > > wr_chain
 

Detailed Description

Chain of writers base class.

Definition at line 93 of file iopipeline.h.


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