aimsalgo 6.0.0
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.
 
static void registerFunction (const std::string &name, const ElementFilteringFunction< T > &func)
 Register a ElementFilterigFunction into the factory.
 
static std::set< std::string > names ()
 List all function ids registered in the factory.
 

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.

Referenced by create(), names(), and registerFunction().

◆ 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 _map(), init(), 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.

References registerFunction().

Referenced by create(), names(), and registerFunction().

◆ 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.

References _map(), and init().

◆ 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 _map(), aims::ElementFilteringFunction< T >::clone(), and init().

Referenced by init().


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