dsp::Reserve Class Reference

Remembers how much has been reserved and increases it if necessary. More...

#include <Reserve.h>

Inheritance diagram for dsp::Reserve:
Reference::Able Reference::HeapTracked

Public Member Functions

void reserve (const TimeSeries *, uint64_t samples)
 Set the minimum number of samples that can be processed. More...
 
uint64_t get_reserved () 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
 

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

Remembers how much has been reserved and increases it if necessary.

Member Function Documentation

◆ reserve()

void dsp::Reserve::reserve ( const TimeSeries target,
uint64_t  samples 
)

Set the minimum number of samples that can be processed.

Set the number of samples to be reserved for this process.

References dsp::TimeSeries::change_reserve().


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

Generated using doxygen 1.8.17