latest version v1.9 - last update 10 Apr 2010 |
This class defines a factory for transform estimator functors. More...
#include <ltiTransformEstimatorFactory.h>
Public Member Functions | |
transformEstimatorFactory () | |
virtual | ~transformEstimatorFactory () |
virtual const char * | getTypeName () const |
virtual transformEstimator * | newInstance (const char *name) const |
virtual transformEstimator * | newInstance (const std::string &name) const |
virtual transformEstimator * | newInstance (eTransformEstimatorType name) const |
This class defines a factory for transform estimator functors.
The applications should check if this functor returns a valid instance (not null pointer).
lti::transformEstimatorFactory::transformEstimatorFactory | ( | ) |
Constructor.
virtual lti::transformEstimatorFactory::~transformEstimatorFactory | ( | ) | [virtual] |
Destructor.
virtual const char* lti::transformEstimatorFactory::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("transformEstimatorFactory")
Reimplemented from lti::object.
virtual transformEstimator* lti::transformEstimatorFactory::newInstance | ( | eTransformEstimatorType | name | ) | const [virtual] |
Creates a new instance of the class whose name is given as parameter, if this class is known to the factory.
Otherwise, it returns null.
name | type of the to-be instantiated class. |
virtual transformEstimator* lti::transformEstimatorFactory::newInstance | ( | const std::string & | name | ) | const [inline, virtual] |
Creates a new instance of the class whose name is given as parameter, if this class is known to the factory.
Otherwise, it returns null.
name | name of the to-be instantiated class. |
References newInstance().
virtual transformEstimator* lti::transformEstimatorFactory::newInstance | ( | const char * | name | ) | const [virtual] |
Creates a new instance of the class whose name is given as parameter, if this class is known to the factory.
Otherwise, it returns null.
name | name of the to-be instantiated class. |
Referenced by newInstance().