g2o
Public Member Functions | Private Attributes | List of all members
g2o::RegisterRobustKernelProxy< T > Class Template Reference

#include <robust_kernel_factory.h>

Public Member Functions

 RegisterRobustKernelProxy (const std::string &name)
 
 ~RegisterRobustKernelProxy ()
 

Private Attributes

std::string _name
 

Detailed Description

template<typename T>
class g2o::RegisterRobustKernelProxy< T >

Definition at line 116 of file robust_kernel_factory.h.

Constructor & Destructor Documentation

template<typename T >
g2o::RegisterRobustKernelProxy< T >::RegisterRobustKernelProxy ( const std::string &  name)
inline

Definition at line 119 of file robust_kernel_factory.h.

References g2o::RobustKernelFactory::instance(), and g2o::RobustKernelFactory::registerRobustKernel().

119  : _name(name)
120  {
121  RobustKernelFactory::instance()->registerRobustKernel(_name, new RobustKernelCreator<T>());
122  }
static RobustKernelFactory * instance()
return the instance
void registerRobustKernel(const std::string &tag, AbstractRobustKernelCreator *c)
template<typename T >
g2o::RegisterRobustKernelProxy< T >::~RegisterRobustKernelProxy ( )
inline

Definition at line 124 of file robust_kernel_factory.h.

References g2o::RobustKernelFactory::instance(), and g2o::RobustKernelFactory::unregisterType().

125  {
127  }
void unregisterType(const std::string &tag)
static RobustKernelFactory * instance()
return the instance

Member Data Documentation

template<typename T >
std::string g2o::RegisterRobustKernelProxy< T >::_name
private

Definition at line 130 of file robust_kernel_factory.h.


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