g2o
Public Member Functions | List of all members
g2o::SLAM2DLinearSolverCreator Class Reference
Inheritance diagram for g2o::SLAM2DLinearSolverCreator:
Inheritance graph
[legend]
Collaboration diagram for g2o::SLAM2DLinearSolverCreator:
Collaboration graph
[legend]

Public Member Functions

 SLAM2DLinearSolverCreator (const OptimizationAlgorithmProperty &p)
 
virtual OptimizationAlgorithmconstruct ()
 allocate a solver operating on optimizer, re-implement for your creator More...
 
- Public Member Functions inherited from g2o::AbstractOptimizationAlgorithmCreator
 AbstractOptimizationAlgorithmCreator (const OptimizationAlgorithmProperty &p)
 
virtual ~AbstractOptimizationAlgorithmCreator ()
 
const OptimizationAlgorithmPropertyproperty () const
 return the properties of the solver More...
 

Additional Inherited Members

- Protected Attributes inherited from g2o::AbstractOptimizationAlgorithmCreator
OptimizationAlgorithmProperty _property
 

Detailed Description

Definition at line 67 of file slam2d_linear.cpp.

Constructor & Destructor Documentation

g2o::SLAM2DLinearSolverCreator::SLAM2DLinearSolverCreator ( const OptimizationAlgorithmProperty p)
inline

Definition at line 70 of file slam2d_linear.cpp.

Referenced by construct().

AbstractOptimizationAlgorithmCreator(const OptimizationAlgorithmProperty &p)

Member Function Documentation

virtual OptimizationAlgorithm* g2o::SLAM2DLinearSolverCreator::construct ( )
inlinevirtual

allocate a solver operating on optimizer, re-implement for your creator

Implements g2o::AbstractOptimizationAlgorithmCreator.

Definition at line 71 of file slam2d_linear.cpp.

References g2o::createSolver(), g2o::G2O_REGISTER_OPTIMIZATION_ALGORITHM(), g2o::G2O_REGISTER_OPTIMIZATION_LIBRARY(), g2o::AbstractOptimizationAlgorithmCreator::property(), and SLAM2DLinearSolverCreator().

72  {
73  return createSolver(property().name);
74  }
static OptimizationAlgorithm * createSolver(const std::string &solverName)
const OptimizationAlgorithmProperty & property() const
return the properties of the solver

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