Main MRPT website
>
C++ reference for MRPT 1.9.9
registerAllClasses.cpp
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
10
#include "
slam-precomp.h
"
// Precompiled headers
11
12
#define MRPT_NO_WARN_BIG_HDR
13
#include <
mrpt/slam.h
>
14
15
#include <
mrpt/core/initializer.h
>
16
17
using namespace
mrpt::slam
;
18
using namespace
mrpt::maps
;
19
using namespace
mrpt::opengl
;
20
21
MRPT_INITIALIZER
(registerAllClasses_mrpt_core)
22
{
23
#if !defined(DISABLE_MRPT_AUTO_CLASS_REGISTRATION)
24
// Hack to enable compatibility with an older name of this class:
25
registerClass
(
CLASS_ID
(
CMultiMetricMap
));
26
registerClassCustomName
(
"CHybridMetricMap"
,
CLASS_ID
(
CMultiMetricMap
));
27
28
registerClass
(
CLASS_ID
(
CIncrementalMapPartitioner
));
29
registerClass
(
CLASS_ID
(
CMultiMetricMapPDF
));
30
#endif
31
}
mrpt::rtti::registerClass
void registerClass(const mrpt::rtti::TRuntimeClassId *pNewClass)
Register a class into the MRPT internal list of "CObject" descendents.
Definition:
internal_class_registry.cpp:155
MRPT_INITIALIZER
#define MRPT_INITIALIZER(f)
Definition:
initializer.h:47
initializer.h
mrpt::maps::CMultiMetricMap
This class stores any customizable set of metric maps.
Definition:
CMultiMetricMap.h:141
slam.h
mrpt::maps::CMultiMetricMapPDF
Declares a class that represents a Rao-Blackwellized set of particles for solving the SLAM problem (T...
Definition:
CMultiMetricMapPDF.h:58
mrpt::rtti::registerClassCustomName
void registerClassCustomName(const char *customName, const TRuntimeClassId *pNewClass)
Mostly for internal use within mrpt sources, to handle exceptional cases with multiple serialization ...
Definition:
internal_class_registry.cpp:168
CLASS_ID
#define CLASS_ID(T)
Access to runtime class ID for a defined class name.
Definition:
CObject.h:85
mrpt::slam::CIncrementalMapPartitioner
Finds partitions in metric maps based on N-cut graph partition theory.
Definition:
CIncrementalMapPartitioner.h:60
slam-precomp.h
mrpt::maps
Definition:
CBeacon.h:24
mrpt::slam
Definition:
CMultiMetricMapPDF.h:27
mrpt::opengl
The namespace for 3D scene representation and rendering.
Definition:
CGlCanvasBase.h:15
Page generated by
Doxygen 1.8.17
for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST