SawtoothFunction Class Reference

SawtoothFunction. More...

Inheritance diagram for SawtoothFunction:

List of all members.

Public Member Functions

 SawtoothFunction (double phase=0.0, double span=1.0, double amplitude=1.0)
 Construct.
virtual ~SawtoothFunction ()
 Destructor.
virtual void apply (DoubleVector &inputs, DoubleVector &outputs)
 Implement the Sawtooth function.
virtual void configure (ConfigurationParameters &params, QString prefix)
 Configures the object using a ConfigurationParameters object.
virtual void save (ConfigurationParameters &params, QString prefix)
 Save the actual status of parameters into the ConfigurationParameters object passed.

Detailed Description

SawtoothFunction.

Definition at line 76 of file libperiodicfunctions.h.


Constructor & Destructor Documentation

SawtoothFunction ( double  phase = 0.0,
double  span = 1.0,
double  amplitude = 1.0 
)

Construct.

Definition at line 75 of file libperiodicfunctions.cpp.

virtual ~SawtoothFunction ( ) [inline, virtual]

Destructor.

Definition at line 81 of file libperiodicfunctions.h.


Member Function Documentation

void apply ( DoubleVector inputs,
DoubleVector outputs 
) [virtual]

Implement the Sawtooth function.

Implements PeriodicFunction.

Definition at line 79 of file libperiodicfunctions.cpp.

References DoubleVector::size().

void configure ( ConfigurationParameters params,
QString  prefix 
) [virtual]

Configures the object using a ConfigurationParameters object.

Parameters:
paramsthe configuration parameters object with parameters to use
prefixthe prefix to use to access the object configuration parameters. This is guaranteed to end with the separator character when called by the factory, so you don't need to add one

Reimplemented from PeriodicFunction.

Definition at line 86 of file libperiodicfunctions.cpp.

void save ( ConfigurationParameters params,
QString  prefix 
) [virtual]

Save the actual status of parameters into the ConfigurationParameters object passed.

Parameters:
paramsthe configuration parameters object on which save actual parameters
prefixthe prefix to use to access the object configuration parameters.

Reimplemented from PeriodicFunction.

Definition at line 92 of file libperiodicfunctions.cpp.

References ConfigurationParameters::startObjectParameters().


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