Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Private Attributes | List of all members
g2o::RobustKernelFactory Class Reference

create robust kernels based on their human readable name More...

#include <robust_kernel_factory.h>

Public Member Functions

RobustKernelconstruct (const std::string &tag) const
 
AbstractRobustKernelCreatorcreator (const std::string &tag) const
 
void fillKnownKernels (std::vector< std::string > &types) const
 
void registerRobustKernel (const std::string &tag, AbstractRobustKernelCreator *c)
 
void unregisterType (const std::string &tag)
 

Static Public Member Functions

static void destroy ()
 free the instance More...
 
static RobustKernelFactoryinstance ()
 return the instance More...
 

Protected Types

typedef std::map< std::string, AbstractRobustKernelCreator * > CreatorMap
 

Protected Member Functions

 RobustKernelFactory ()
 
 ~RobustKernelFactory ()
 

Protected Attributes

CreatorMap _creator
 look-up map for the existing creators More...
 

Static Private Attributes

static RobustKernelFactoryfactoryInstance = 0
 

Detailed Description

create robust kernels based on their human readable name

Definition at line 67 of file robust_kernel_factory.h.

Member Typedef Documentation

typedef std::map<std::string, AbstractRobustKernelCreator*> g2o::RobustKernelFactory::CreatorMap
protected

Definition at line 104 of file robust_kernel_factory.h.

Constructor & Destructor Documentation

g2o::RobustKernelFactory::RobustKernelFactory ( )
protected

Definition at line 38 of file robust_kernel_factory.cpp.

g2o::RobustKernelFactory::~RobustKernelFactory ( )
protected

Definition at line 42 of file robust_kernel_factory.cpp.

Member Function Documentation

RobustKernel * g2o::RobustKernelFactory::construct ( const std::string &  tag) const

construct a robust kernel based on its tag

Definition at line 80 of file robust_kernel_factory.cpp.

AbstractRobustKernelCreator * g2o::RobustKernelFactory::creator ( const std::string &  tag) const

return the creator for a specific tag

Definition at line 89 of file robust_kernel_factory.cpp.

void g2o::RobustKernelFactory::destroy ( )
static

free the instance

Definition at line 105 of file robust_kernel_factory.cpp.

void g2o::RobustKernelFactory::fillKnownKernels ( std::vector< std::string > &  types) const

get a list of all known robust kernels

Definition at line 98 of file robust_kernel_factory.cpp.

RobustKernelFactory * g2o::RobustKernelFactory::instance ( )
static

return the instance

Definition at line 50 of file robust_kernel_factory.cpp.

void g2o::RobustKernelFactory::registerRobustKernel ( const std::string &  tag,
AbstractRobustKernelCreator c 
)

register a tag for a specific creator

Definition at line 59 of file robust_kernel_factory.cpp.

void g2o::RobustKernelFactory::unregisterType ( const std::string &  tag)

unregister a tag for a specific creator

Definition at line 70 of file robust_kernel_factory.cpp.

Member Data Documentation

CreatorMap g2o::RobustKernelFactory::_creator
protected

look-up map for the existing creators

Definition at line 108 of file robust_kernel_factory.h.

RobustKernelFactory * g2o::RobustKernelFactory::factoryInstance = 0
staticprivate

Definition at line 111 of file robust_kernel_factory.h.


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


orb_slam2_with_maps_odom
Author(s): teng zhang
autogenerated on Fri Sep 25 2020 03:24:47