#include <Window.h>
Collaboration diagram for Window< T >:

Definition at line 37 of file Window.h.
Public Member Functions | |
| Window (WindowType type, size_t size) | |
| Construct a windower of the given type. | |
| Window (const Window &w) | |
| Window & | operator= (const Window &w) |
| virtual | ~Window () |
| void | cut (T *src) const |
| void | cut (T *src, T *dst) const |
| T | getArea () |
| T | getValue (size_t i) |
| WindowType | getType () const |
| size_t | getSize () const |
Static Public Member Functions | |
| static std::string | getNameForType (WindowType type) |
| static WindowType | getTypeForName (std::string name) |
Protected Member Functions | |
| void | encache () |
| void | cosinewin (T *, T, T, T, T) |
Protected Attributes | |
| WindowType | m_type |
| size_t | m_size |
| T * | m_cache |
| T | m_area |
| Window< T >::Window | ( | WindowType | type, | |
| size_t | size | |||
| ) | [inline] |
| void Window< T >::cut | ( | T * | src | ) | const [inline] |
| void Window< T >::cut | ( | T * | src, | |
| T * | dst | |||
| ) | const [inline] |
| T Window< T >::getValue | ( | size_t | i | ) | [inline] |
| WindowType Window< T >::getType | ( | ) | const [inline] |
| size_t Window< T >::getSize | ( | ) | const [inline] |
| std::string Window< T >::getNameForType | ( | WindowType | type | ) | [static] |
Definition at line 171 of file Window.h.
References BartlettWindow, BlackmanHarrisWindow, BlackmanWindow, GaussianWindow, HammingWindow, HanningWindow, NuttallWindow, ParzenWindow, and RectangularWindow.
| WindowType Window< T >::getTypeForName | ( | std::string | name | ) | [static] |
Definition at line 193 of file Window.h.
References BartlettWindow, BlackmanHarrisWindow, BlackmanWindow, GaussianWindow, HammingWindow, HanningWindow, NuttallWindow, ParzenWindow, and RectangularWindow.
| void Window< T >::encache | ( | ) | [protected] |
Definition at line 82 of file Window.h.
References BartlettWindow, BlackmanHarrisWindow, BlackmanWindow, Window< T >::cosinewin(), GaussianWindow, HammingWindow, HanningWindow, Window< T >::m_area, Window< T >::m_cache, Window< T >::m_size, Window< T >::m_type, NuttallWindow, ParzenWindow, and RectangularWindow.
Referenced by Window< float >::operator=(), and Window< float >::Window().
| void Window< T >::cosinewin | ( | T * | , | |
| T | , | |||
| T | , | |||
| T | , | |||
| T | ||||
| ) | [protected] |
Definition at line 158 of file Window.h.
References Window< T >::m_size.
Referenced by Window< T >::encache().
WindowType Window< T >::m_type [protected] |
Definition at line 72 of file Window.h.
Referenced by Window< T >::encache(), Window< float >::getType(), and Window< float >::operator=().
Definition at line 73 of file Window.h.
Referenced by Window< T >::cosinewin(), Window< float >::cut(), Window< T >::encache(), Window< float >::getSize(), and Window< float >::operator=().
Definition at line 74 of file Window.h.
Referenced by Window< float >::cut(), Window< T >::encache(), Window< float >::getValue(), and Window< float >::~Window().
Definition at line 75 of file Window.h.
Referenced by Window< T >::encache(), and Window< float >::getArea().
1.5.1