Kaim::TraverseLogicObsoleteChecker Class Reference

Kaim::TraverseLogicObsoleteChecker Class Reference

#include <traverselogicobsoletechecker.h>

Class Description

This class is used in order to check that an inherited TraverseLogic is not implementing an obsolete function! It is systematically done when adding a NavigationProfile to the World.

This check is done at runtime. It is based on checking static function pointers.

The idea is if the pointer returned by the Derived class is the same than the one returned by the Base class, in that case we know for sure that the Derived class doesn't implement and/or hide the Base class's function.

SimpleTraverseLogic interface check

template<class TLogic >
static void Init (SimpleTraverseLogicObsoleteFuncPtr &funcPtr)
 
template<class TLogic >
static bool Check (const LogicWithoutCostMultipler &)
 

TraverseLogicWithCostMultiplerPerNavTag interface check

template<class TLogic >
static bool Check (const LogicWithCostMultiplerPerNavTag &)
 

TraverseLogicWithCostPerTriangle interface check

template<class TLogic >
static bool Check (const LogicWithCostMultiplerPerTriangle &)
 

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