dsp::BufferingPolicy Class Referenceabstract

Defines the interface by which Transformation data are buffered. More...

#include <BufferingPolicy.h>

Inheritance diagram for dsp::BufferingPolicy:
OwnStream Reference::Able Reference::HeapTracked dsp::InputBuffering dsp::InputBuffering::Share dsp::UniversalInputBuffering< Class, Method >

Public Member Functions

virtual void pre_transformation ()=0
 Perform all buffering tasks required before transformation.
 
virtual void post_transformation ()=0
 Perform all buffering tasks required after transformation.
 
virtual void set_next_start (uint64_t next_start_sample)=0
 Set the first sample to be used from the input next time.
 
virtual void set_maximum_samples (uint64_t minimum_samples)=0
 Set the minimum number of samples that can be processed.
 
virtual uint64_t bytes_storage () const =0
 Get the number of bytes of storage required by this buffer.
 
std::string get_name ()
 Returns the name.
 
- Public Member Functions inherited from OwnStream
 OwnStream (const OwnStream &)
 
const OwnStreamoperator= (const OwnStream &)
 
virtual void set_cout (std::ostream &) const
 
virtual void set_cerr (std::ostream &) const
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Protected Attributes

std::string name
 Descriptive name.
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Detailed Description

Defines the interface by which Transformation data are buffered.

This pure virtual base class defines the interface by which Transformation input and/or output may be buffered.


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

Generated using doxygen 1.8.17