Thrill  0.1
DynBlockSourceInterface Class Referenceabstract

Detailed Description

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.

+ Inheritance diagram for DynBlockSourceInterface:
+ Collaboration diagram for DynBlockSourceInterface:

#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...
ReferenceCounteroperator= (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...

Constructor & Destructor Documentation

◆ ~DynBlockSourceInterface()

virtual ~DynBlockSourceInterface ( )

Member Function Documentation

◆ NextBlock()

virtual PinnedBlock NextBlock ( )
pure virtual

◆ Prefetch()

virtual void Prefetch ( size_t  size)
pure virtual

set number of blocks to prefetch

Implemented in DynBlockSourceAdapter< BlockSource >.

Referenced by DynBlockSourceInterface::~DynBlockSourceInterface().

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