aimsalgo  5.1.2
Neuroimaging image processing
aims::ElementFilteringFunctionFactory< T > Class Template Reference

Associates a string with a ElementFilteringFunction. More...

#include <aims/signalfilter/filteringfunction_element.h>

Static Public Member Functions

static ElementFilteringFunction< T > * create (const std::string &name, carto::Object options=carto::none())
 Build and return the ElementFilteringFunction associated with the id name. More...
 
static void registerFunction (const std::string &name, const ElementFilteringFunction< T > &func)
 Register a ElementFilterigFunction into the factory. More...
 
static std::set< std::string > names ()
 List all function ids registered in the factory. More...
 

Static Protected Member Functions

static void init ()
 
static std::map< std::string, carto::rc_ptr< ElementFilteringFunction< T > > > & _map ()
 

Detailed Description

template<typename T>
class aims::ElementFilteringFunctionFactory< T >

Associates a string with a ElementFilteringFunction.

Definition at line 96 of file filteringfunction_element.h.

Member Function Documentation

◆ _map()

template<typename T >
std::map< std::string, carto::rc_ptr< ElementFilteringFunction< T > > > & aims::ElementFilteringFunctionFactory< T >::_map
staticprotected

Definition at line 92 of file filteringfunction_element_d.h.

◆ create()

template<typename T >
ElementFilteringFunction< T > * aims::ElementFilteringFunctionFactory< T >::create ( const std::string &  name,
carto::Object  options = carto::none() 
)
static

Build and return the ElementFilteringFunction associated with the id name.

Definition at line 120 of file filteringfunction_element_d.h.

References aims::ElementFilteringFunction< T >::clone(), and aims::FilteringFunctionInterface< T >::setOptions().

◆ init()

template<typename T >
void aims::ElementFilteringFunctionFactory< T >::init
staticprotected

Definition at line 64 of file filteringfunction_element_d.h.

◆ names()

template<typename T >
std::set< std::string > aims::ElementFilteringFunctionFactory< T >::names
static

List all function ids registered in the factory.

Definition at line 109 of file filteringfunction_element_d.h.

◆ registerFunction()

template<typename T >
void aims::ElementFilteringFunctionFactory< T >::registerFunction ( const std::string &  name,
const ElementFilteringFunction< T > &  func 
)
static

Register a ElementFilterigFunction into the factory.

Definition at line 99 of file filteringfunction_element_d.h.

References aims::ElementFilteringFunction< T >::clone().


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