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

Pipeline reader which flows through all data. More...

#include <iobase.h>

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

Public Member Functions

 FlowThroughPipelineReader (const std::shared_ptr< Reader > &r)
 
virtual size_t read (void *loc, size_t len)
 Read interface. More...
 
virtual void read_reset (const std::shared_ptr< Reader > &r)
 Reset interface. More...
 
virtual std::shared_ptr< Readerread_shared () const
 

Public Attributes

std::shared_ptr< Readerreader
 

Detailed Description

Pipeline reader which flows through all data.

Definition at line 104 of file iobase.h.

Member Function Documentation

◆ read()

virtual size_t scc::util::FlowThroughPipelineReader::read ( void *  ,
size_t   
)
inlinevirtual

Read interface.

Read a block of data to a maximum. Return number of bytes read.

Implements scc::util::Reader.

Definition at line 111 of file iobase.h.

◆ read_reset()

virtual void scc::util::FlowThroughPipelineReader::read_reset ( const std::shared_ptr< Reader > &  )
inlinevirtual

Reset interface.

The underlying reader is reset and will be used for all future reads.

Implements scc::util::PipelineReader.

Definition at line 116 of file iobase.h.


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