#include <FFT/FFTWindowFactory.h>
Public Member Functions | |
| bool | Register (const FFTWindowDescription &desc, Callback cb) |
| bool | Unregister (const std::string &name) |
Name of window to create | |
| FFTWindow * | Create (const std::string &name) |
| void | GetRegisteredList (std::vector< const FFTWindowDescription * > &descriptions) |
Static Public Member Functions | |
| static FFTWindowFactory & | Instance (void) |
| void FFTWindowFactory::GetRegisteredList | ( | std::vector< const FFTWindowDescription * > & | descriptions | ) |
Get list of names of the registered filters
| static FFTWindowFactory& FFTWindowFactory::Instance | ( | void | ) | [inline, static] |
Get reference to factory (singleton) instance
| bool FFTWindowFactory::Register | ( | const FFTWindowDescription & | desc, | |
| Callback | cb | |||
| ) |
Register new window type
| name | Name of the window, must be unique or exception is thrown | |
| cb | Callback to create specific window |
| bool FFTWindowFactory::Unregister | ( | const std::string & | name | ) |
Unregister window type with specified name from factory. We'll probably won't use this.
| name | Window name |
1.5.9