CSIM: FilterFunction Class Reference

FilterFunction Class Reference

#include <filterfunction.h>

Inheritance diagram for FilterFunction:

Advancable csimClass AnalogFilter SpikeFilter GaussianAnalogFilter TriangularAnalogFilter UserAnalogFilter AlphaSpikeFilter CountSpikeFilter ExpSpikeFilter List of all members.

Detailed Description

Base class of all filter objects.

Public Member Functions

Protected Attributes

  • map< string, double * > params

Constructor & Destructor Documentation

FilterFunction::FilterFunction void   ) 
 

Initializes a new filter.


Member Function Documentation

double FilterFunction::getParameter string  name  )  [virtual]
 

Returns the current value of a parameter.

Parameters:
name Name of the parameter.
Returns:
The value of the parameter.

virtual void FilterFunction::reset  )  [pure virtual]
 

Resets the information stored within the filter.

Implements Advancable.

Implemented in AnalogFilter, and SpikeFilter.

void FilterFunction::setParameter string  name,
double  value
[virtual]
 

Sets a parameter of the filter function.

Parameters:
name Name of the parameter.
value Value to set for the parameter.

virtual int FilterFunction::updateInternal void   )  [inline, virtual]
 

This function is called after parameters are updated.

Reimplemented from csimClass.

Reimplemented in AlphaSpikeFilter, AnalogFilter, CountSpikeFilter, ExpSpikeFilter, and UserAnalogFilter.

list< string > FilterFunction::validParameters void   )  [virtual]
 

Returns the names of the valid parameters.

Returns:
A string list indicating the valid parameter names.


Member Data Documentation

map<string, double *> FilterFunction::params [protected]
 

A map storing pointers to the parameters.


 
(C) 2003, Thomas Natschläger last modified 07/10/2006