DataFilterFactory Class Reference

#include <filter/DataFilterFactory.h>

List of all members.

Public Member Functions

bool Register (const std::string &name, Callback cb)
bool Unregister (const std::string &name)
Name of filter to create
Create filter specified with name

Returns:
Pointer to DataFilter class object or NULL


DataFilterCreate (const std::string &name)
void GetRegisteredList (std::vector< std::string > &names)

Static Public Member Functions

static DataFilterFactoryInstance (void)


Detailed Description

Factory for data filters, singleton.

Member Function Documentation

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

Parameters:
name Name of the filter, must be unique or exception is thrown
cb Callback to create specific filter
Returns:
True on success

bool DataFilterFactory::Unregister ( const std::string &  name  ) 

Unregister filter type with specified name from factory. We'll probably won't use this.

Parameters:
name Filter name
Returns:
True on success


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

Generated on Wed May 15 22:42:22 2013 for miniscope v3 by  doxygen 1.5.9
Tomasz Ostrowski