g2o
Loading...
Searching...
No Matches
robust_kernel_factory.h File Reference
#include <iostream>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "g2o/stuff/misc.h"
#include "g2o_core_api.h"
Include dependency graph for robust_kernel_factory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  g2o::AbstractRobustKernelCreator
 Abstract interface for allocating a robust kernel. More...
class  g2o::RobustKernelCreator< T >
 templatized creator class which creates graph elements More...
class  g2o::RobustKernelFactory
 create robust kernels based on their human readable name More...
class  g2o::RegisterRobustKernelProxy< T >

Namespaces

namespace  g2o

Macros

#define G2O_ROBUST_KERNEL_FACTORY_EXPORT
#define G2O_ROBUST_KERNEL_FACTORY_IMPORT
#define G2O_REGISTER_ROBUST_KERNEL(name, classname)
#define G2O_USE_ROBUST_KERNEL(classname)

Macro Definition Documentation

◆ G2O_REGISTER_ROBUST_KERNEL

#define G2O_REGISTER_ROBUST_KERNEL ( name,
classname )
Value:
extern "C" void G2O_ROBUST_KERNEL_FACTORY_EXPORT \
g2o_robust_kernel_##classname(void) {} \
g_robust_kernel_proxy_##classname(#name);

Definition at line 139 of file robust_kernel_factory.h.

139#define G2O_REGISTER_ROBUST_KERNEL(name, classname) \
140 extern "C" void G2O_ROBUST_KERNEL_FACTORY_EXPORT \
141 g2o_robust_kernel_##classname(void) {} \
142 static g2o::RegisterRobustKernelProxy<classname> \
143 g_robust_kernel_proxy_##classname(#name);

◆ G2O_ROBUST_KERNEL_FACTORY_EXPORT

#define G2O_ROBUST_KERNEL_FACTORY_EXPORT

Definition at line 133 of file robust_kernel_factory.h.

◆ G2O_ROBUST_KERNEL_FACTORY_IMPORT

#define G2O_ROBUST_KERNEL_FACTORY_IMPORT

Definition at line 134 of file robust_kernel_factory.h.

◆ G2O_USE_ROBUST_KERNEL

#define G2O_USE_ROBUST_KERNEL ( classname)
Value:
extern "C" void G2O_ROBUST_KERNEL_FACTORY_IMPORT \
g2o_robust_kernel_##classname(void); \
static g2o::ForceLinker g2o_force_robust_kernel_link_##classname( \
g2o_robust_kernel_##classname);

Definition at line 145 of file robust_kernel_factory.h.

145#define G2O_USE_ROBUST_KERNEL(classname) \
146 extern "C" void G2O_ROBUST_KERNEL_FACTORY_IMPORT \
147 g2o_robust_kernel_##classname(void); \
148 static g2o::ForceLinker g2o_force_robust_kernel_link_##classname( \
149 g2o_robust_kernel_##classname);