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