OpenTTD Source 20241224-master-gf74b0cf984
|
CYapfSegmentCostCacheNoneT - the formal only yapf cost cache provider that implements PfNodeCacheFetch(). More...
#include <yapf_costcache.hpp>
Public Types | |
typedef Types::Tpf | Tpf |
the pathfinder class (derived from THIS class) | |
typedef Types::NodeList::Item | Node |
this will be our node type | |
Public Member Functions | |
bool | PfNodeCacheFetch (Node &) |
Called by YAPF to attach cached or local segment cost data to the given node. | |
CYapfSegmentCostCacheNoneT - the formal only yapf cost cache provider that implements PfNodeCacheFetch().
Used when nodes don't have CachedData defined (they don't count with any segment cost caching).
Definition at line 23 of file yapf_costcache.hpp.
typedef Types::NodeList::Item CYapfSegmentCostCacheNoneT< Types >::Node |
this will be our node type
Definition at line 27 of file yapf_costcache.hpp.
typedef Types::Tpf CYapfSegmentCostCacheNoneT< Types >::Tpf |
the pathfinder class (derived from THIS class)
Definition at line 26 of file yapf_costcache.hpp.
|
inline |
Called by YAPF to attach cached or local segment cost data to the given node.
Definition at line 33 of file yapf_costcache.hpp.