g2o
Public Member Functions | Protected Attributes | List of all members
g2o::AbstractOptimizationAlgorithmCreator Class Referenceabstract

base for allocating an optimization algorithm More...

#include <optimization_algorithm_factory.h>

Inheritance diagram for g2o::AbstractOptimizationAlgorithmCreator:
Inheritance graph
[legend]
Collaboration diagram for g2o::AbstractOptimizationAlgorithmCreator:
Collaboration graph
[legend]

Public Member Functions

 AbstractOptimizationAlgorithmCreator (const OptimizationAlgorithmProperty &p)
 
virtual ~AbstractOptimizationAlgorithmCreator ()
 
virtual OptimizationAlgorithmconstruct ()=0
 allocate a solver operating on optimizer, re-implement for your creator More...
 
const OptimizationAlgorithmPropertyproperty () const
 return the properties of the solver More...
 

Protected Attributes

OptimizationAlgorithmProperty _property
 

Detailed Description

base for allocating an optimization algorithm

Allocating a solver for a given optimizer. The method construct() has to be implemented in your derived class to allocate the desired solver.

Definition at line 55 of file optimization_algorithm_factory.h.

Constructor & Destructor Documentation

g2o::AbstractOptimizationAlgorithmCreator::AbstractOptimizationAlgorithmCreator ( const OptimizationAlgorithmProperty p)

Definition at line 37 of file optimization_algorithm_factory.cpp.

References g2o::OptimizationAlgorithmFactory::factoryInstance.

37  :
38  _property(p)
39  {
40  }
virtual g2o::AbstractOptimizationAlgorithmCreator::~AbstractOptimizationAlgorithmCreator ( )
inlinevirtual

Definition at line 59 of file optimization_algorithm_factory.h.

59 { }

Member Function Documentation

virtual OptimizationAlgorithm* g2o::AbstractOptimizationAlgorithmCreator::construct ( )
pure virtual
const OptimizationAlgorithmProperty& g2o::AbstractOptimizationAlgorithmCreator::property ( ) const
inline

Member Data Documentation

OptimizationAlgorithmProperty g2o::AbstractOptimizationAlgorithmCreator::_property
protected

Definition at line 65 of file optimization_algorithm_factory.h.


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