Thrill
0.1
|
This is a pure virtual base which will be used to fetch Blocks for the BlockReader from different sources.
Definition at line 30 of file dyn_block_reader.hpp.
#include <dyn_block_reader.hpp>
Public Member Functions | |
virtual | ~DynBlockSourceInterface () |
virtual PinnedBlock | NextBlock ()=0 |
virtual void | Prefetch (size_t size)=0 |
set number of blocks to prefetch More... | |
Public Member Functions inherited from ReferenceCounter | |
ReferenceCounter () noexcept | |
new objects have zero reference count More... | |
ReferenceCounter (const ReferenceCounter &) noexcept | |
coping still creates a new object with zero reference count More... | |
~ReferenceCounter () | |
bool | dec_reference () const noexcept |
Call whenever resetting (i.e. More... | |
void | inc_reference () const noexcept |
Call whenever setting a pointer to the object. More... | |
ReferenceCounter & | operator= (const ReferenceCounter &) noexcept |
assignment operator, leaves pointers unchanged More... | |
size_t | reference_count () const noexcept |
Return the number of references to this object (for debugging) More... | |
bool | unique () const noexcept |
Test if the ReferenceCounter is referenced by only one CountingPtr. More... | |
|
inlinevirtual |
Definition at line 33 of file dyn_block_reader.hpp.
References DynBlockSourceInterface::NextBlock(), and DynBlockSourceInterface::Prefetch().
|
pure virtual |
Implemented in DynBlockSourceAdapter< BlockSource >.
Referenced by DynBlockSourceInterface::~DynBlockSourceInterface().
|
pure virtual |
set number of blocks to prefetch
Implemented in DynBlockSourceAdapter< BlockSource >.
Referenced by DynBlockSourceInterface::~DynBlockSourceInterface().