Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
SlidingWindow< T > Class Template Reference

Sliding window for analysis. More...

#include <DFT.h>

List of all members.

Public Member Functions

const T * window ()
 Returns pointer to internal sample window.
bool operator() (T input)
 Returns true when sample window is ready to be processed.
bool operator() (T *dst, T input)
 Returns true when sample window is ready to be processed.

Detailed Description

template<class T = gam::real>
class gam::SlidingWindow< T >

Sliding window for analysis.


Member Function Documentation

bool operator() ( T *  dst,
input 
)

Returns true when sample window is ready to be processed.

Upon returning true, the sample buffer is copied into 'dst'. 'dst' must have a size of at least sizeWin().

const T * window ( )

Returns pointer to internal sample window.

The samples returned cannot be modified directly since they point to an internal delay line.


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