Public Member Functions | List of all members
octomap::OcTree::StaticMemberInitializer Class Reference

#include <OcTree.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 79 of file OcTree.h.

Constructor & Destructor Documentation

◆ StaticMemberInitializer()

octomap::OcTree::StaticMemberInitializer::StaticMemberInitializer ( )
inline

Definition at line 81 of file OcTree.h.

Member Function Documentation

◆ ensureLinking()

void octomap::OcTree::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 92 of file OcTree.h.


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


octomap
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Tue Dec 12 2023 03:39:41