LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::dummyFunctor Class Reference

A dummy functor that is evaluated with the paretoFront. More...

#include <ltiParetoFrontTester.h>

Inheritance diagram for lti::dummyFunctor:
Inheritance graph
[legend]
Collaboration diagram for lti::dummyFunctor:
Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 The parameters for the class dummyFunctor. More...

Public Member Functions

 dummyFunctor ()
 dummyFunctor (const parameters &par)
 dummyFunctor (const dummyFunctor &other)
virtual ~dummyFunctor ()
virtual const char * getTypeName () const
bool apply (const double &src, double &dest) const
dummyFunctorcopy (const dummyFunctor &other)
dummyFunctoroperator= (const dummyFunctor &other)
virtual functorclone () const
const parametersgetParameters () const

Detailed Description

A dummy functor that is evaluated with the paretoFront.


Constructor & Destructor Documentation

lti::dummyFunctor::dummyFunctor (  ) 

Default constructor.

lti::dummyFunctor::dummyFunctor ( const parameters par  ) 

Construct a functor using the given parameters.

lti::dummyFunctor::dummyFunctor ( const dummyFunctor other  ) 

Copy constructor.

Parameters:
other the object to be copied
virtual lti::dummyFunctor::~dummyFunctor (  )  [virtual]

Destructor.


Member Function Documentation

bool lti::dummyFunctor::apply ( const double &  src,
double &  dest 
) const

operates on a copy of the given parameters.

Parameters:
src double with the source data.
dest double where the result will be left.
Returns:
true if apply successful or false otherwise.
virtual functor* lti::dummyFunctor::clone (  )  const [virtual]

Returns a pointer to a clone of this functor.

Implements lti::functor.

dummyFunctor& lti::dummyFunctor::copy ( const dummyFunctor other  ) 

Copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.

const parameters& lti::dummyFunctor::getParameters (  )  const

Returns used parameters.

Reimplemented from lti::functor.

virtual const char* lti::dummyFunctor::getTypeName (  )  const [virtual]

Returns the name of this type ("dummyFunctor").

Reimplemented from lti::functor.

dummyFunctor& lti::dummyFunctor::operator= ( const dummyFunctor other  ) 

Alias for copy member.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.


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

Generated on Sat Apr 10 15:29:18 2010 for LTI-Lib by Doxygen 1.6.1