dsp::UniversalInputBuffering< Class, Method > Class Template Reference

Buffers any TimeSeries used by Transformation. More...

#include <UniversalInputBuffering.h>

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

Public Member Functions

 UniversalInputBuffering (Class *c, Method m)
 Default constructor.
 
const TimeSeriesget_input ()
 Get the TimeSeries to be buffered.
 
- Public Member Functions inherited from dsp::InputBuffering
 InputBuffering (HasInput< TimeSeries > *target=0)
 Default constructor.
 
void set_target (HasInput< TimeSeries > *input)
 Set the target with input TimeSeries to be buffered.
 
void pre_transformation ()
 Perform all buffering tasks required before transformation. More...
 
void post_transformation ()
 Perform all buffering tasks required after transformation. More...
 
void set_next_start (uint64_t next_start_sample)
 Set the first sample to be used from the input next time. More...
 
void set_maximum_samples (uint64_t samples)
 Set the maximum number of samples to be buffered.
 
int64_t get_next_contiguous () const
 Get the next contiguous sample following the current buffer.
 
uint64_t bytes_storage () const override
 Get the number of bytes of storage required by this buffer.
 
- Public Member Functions inherited from dsp::BufferingPolicy
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

Class * instance
 
Method method
 
- Protected Attributes inherited from dsp::InputBuffering
uint64_t next_start_sample = 0
 The next start sample.
 
HasInput< TimeSeries > * target = nullptr
 The target with input TimeSeries to be buffered.
 
Reference::To< TimeSeriesbuffer
 The buffer.
 
Reference::To< Reservereserve
 The reserve manager.
 
- Protected Attributes inherited from dsp::BufferingPolicy
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 dsp::InputBuffering
void resize_buffer ()
 Resize and configure.
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Detailed Description

template<typename Class, typename Method>
class dsp::UniversalInputBuffering< Class, Method >

Buffers any TimeSeries used by Transformation.


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

Generated using doxygen 1.8.17