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-2017, 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/utils/initializer.h>
16 
17 using namespace mrpt::utils;
18 using namespace mrpt::slam;
19 using namespace mrpt::maps;
20 using namespace mrpt::opengl;
21 
22 MRPT_INITIALIZER(registerAllClasses_mrpt_core)
23 {
24 #if !defined(DISABLE_MRPT_AUTO_CLASS_REGISTRATION)
25  // Hack to enable compatibility with an older name of this class:
27  registerClassCustomName("CHybridMetricMap", CLASS_ID(CMultiMetricMap));
28 
31 #endif
32 }
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
#define MRPT_INITIALIZER(f)
Definition: initializer.h:47
#define CLASS_ID(T)
Access to runtime class ID for a defined class name.
Definition: CObject.h:85
This class can be used to make partitions on a map/graph build from observations taken at some poses/...
The namespace for 3D scene representation and rendering.
Definition: CGlCanvasBase.h:15
void registerClass(const mrpt::utils::TRuntimeClassId *pNewClass)
Register a class into the MRPT internal list of "CSerializable" descendents.
This class stores any customizable set of metric maps.
Declares a class that represents a Rao-Blackwellized set of particles for solving the SLAM problem (T...
void registerClassCustomName(const char *customName, const TRuntimeClassId *pNewClass)
Mostly for internal use within mrpt sources, to handle exceptional cases with multiple serialization ...



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019