HARDT - The Ham Radio DSP Toolkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
HWindow< T > Class Template Referenceabstract

#include <hwindow.h>

Inheritance diagram for HWindow< T >:
Inheritance graph
[legend]

Public Member Functions

 HWindow ()
 
 ~HWindow ()
 
void SetSize (int N)
 
void Apply (T *src, T *dest, size_t blocksize)
 

Protected Member Functions

virtual float ValueAt (int N, int n)=0
 

Protected Attributes

float * _valueAt
 
int _N
 

Detailed Description

template<class T>
class HWindow< T >

Base class for windows

Constructor & Destructor Documentation

◆ HWindow()

template<class T >
HWindow< T >::HWindow

Construct a new HWindow

◆ ~HWindow()

template<class T >
HWindow< T >::~HWindow

Default destructor

Member Function Documentation

◆ Apply()

template<class T >
void HWindow< T >::Apply ( T *  src,
T *  dest,
size_t  blocksize 
)

Apply the window to the given block of samples

◆ SetSize()

template<class T >
void HWindow< T >::SetSize ( int  N)

Set size of the window

◆ ValueAt()

template<class T >
virtual float HWindow< T >::ValueAt ( int  N,
int  n 
)
protectedpure virtual

Get the window value at this sample number

Member Data Documentation

◆ _N

template<class T >
int HWindow< T >::_N
protected

The size of the window

◆ _valueAt

template<class T >
float* HWindow< T >::_valueAt
protected

Contains the precalculated window values


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