Public Member Functions | List of all members
rtabmap::RtabmapColorOcTree::StaticMemberInitializer Class Reference

#include <OctoMap.h>

Public Member Functions

void ensureLinking ()
 
 StaticMemberInitializer ()
 

Detailed Description

Static member object which ensures that this OcTree's prototype ends up in the classIDMapping only once. You need this as a static member in any derived octree class in order to read .ot files through the AbstractOcTree factory. You should also call ensureLinking() once from the constructor.

Definition at line 159 of file global_map/OctoMap.h.

Constructor & Destructor Documentation

◆ StaticMemberInitializer()

rtabmap::RtabmapColorOcTree::StaticMemberInitializer::StaticMemberInitializer ( )

Definition at line 271 of file OctoMap.cpp.

Member Function Documentation

◆ ensureLinking()

void rtabmap::RtabmapColorOcTree::StaticMemberInitializer::ensureLinking ( )
inline

Dummy function to ensure that MSVC does not drop the StaticMemberInitializer, causing this tree failing to register. Needs to be called from the constructor of this octree.

Definition at line 168 of file global_map/OctoMap.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:28