base class for windows.
More...
#include <Window.h>
◆ Window() [1/2]
HephAudio::Window::Window |
( |
| ) |
|
|
protected |
creates a new instance and initializes it with default values.
◆ Window() [2/2]
HephAudio::Window::Window |
( |
size_t | size | ) |
|
|
protected |
creates a new instance and initializes it with the provided values.
- Parameters
-
◆ ~Window()
virtual HephAudio::Window::~Window |
( |
| ) |
|
|
virtualdefault |
releases the resources and destroys the instance.
◆ operator[]()
virtual double HephAudio::Window::operator[] |
( |
size_t | n | ) |
const |
|
pure virtual |
calculates the sample at index n.
Implemented in HephAudio::BartlettHannWindow, HephAudio::BlackmanHarrisWindow, HephAudio::BlackmanNuttallWindow, HephAudio::BlackmanWindow, HephAudio::ExactBlackmanWindow, HephAudio::FlatTopWindow, HephAudio::GaussianWindow, HephAudio::HammingWindow, HephAudio::HannPoissonWindow, HephAudio::HannWindow, HephAudio::LanczosWindow, HephAudio::NuttallWindow, HephAudio::ParzenWindow, HephAudio::RectangularWindow, HephAudio::SineWindow, HephAudio::TriangularWindow, HephAudio::TukeyWindow, and HephAudio::WelchWindow.
◆ GenerateBuffer()
◆ GetSize()
size_t HephAudio::Window::GetSize |
( |
| ) |
const |
gets the size of the window.
◆ SetSize()
virtual void HephAudio::Window::SetSize |
( |
size_t | newSize | ) |
|
|
virtual |
sets the size of the window.
Reimplemented in HephAudio::BartlettHannWindow, HephAudio::BlackmanHarrisWindow, HephAudio::BlackmanNuttallWindow, HephAudio::BlackmanWindow, HephAudio::ExactBlackmanWindow, HephAudio::FlatTopWindow, HephAudio::GaussianWindow, HephAudio::HammingWindow, HephAudio::HannPoissonWindow, HephAudio::HannWindow, HephAudio::LanczosWindow, HephAudio::NuttallWindow, HephAudio::ParzenWindow, HephAudio::SineWindow, HephAudio::TriangularWindow, HephAudio::TukeyWindow, and HephAudio::WelchWindow.
◆ size
size_t HephAudio::Window::size |
|
protected |