OpenTTD Source 20251019-master-g9f7f314f81
CYapfT< Ttypes > Class Template Reference

YAPF template that uses Ttypes template argument to determine all YAPF components (base classes) from which the actual YAPF is composed. More...

#include <yapf_common.hpp>

Inheritance diagram for CYapfT< Ttypes >:
CYapfRailBase< CYapfRail_TypesT< CYapfAnyDepotRail, CFollowTrackRail, CYapfDestinationAnyDepotRailT, CYapfFollowAnyDepotRailT > > CYapfRailBase< CYapfRail_TypesT< CYapfAnyDepotRailNo90, CFollowTrackRailNo90, CYapfDestinationAnyDepotRailT, CYapfFollowAnyDepotRailT > > CYapfRailBase< CYapfRail_TypesT< CYapfAnySafeTileRail, CFollowTrackFreeRail, CYapfDestinationAnySafeTileRailT, CYapfFollowAnySafeTileRailT > > CYapfRailBase< CYapfRail_TypesT< CYapfAnySafeTileRailNo90, CFollowTrackFreeRailNo90, CYapfDestinationAnySafeTileRailT, CYapfFollowAnySafeTileRailT > > CYapfRailBase< CYapfRail_TypesT< CYapfRail, CFollowTrackRail, CYapfDestinationTileOrStationRailT, CYapfFollowRailT > > CYapfRailBase< CYapfRail_TypesT< CYapfRailNo90, CFollowTrackRailNo90, CYapfDestinationTileOrStationRailT, CYapfFollowRailT > > CYapfAnyDepotRail CYapfAnyDepotRailNo90 CYapfAnySafeTileRail CYapfAnySafeTileRailNo90 CYapfRail CYapfRailNo90

Detailed Description

template<class Ttypes>
class CYapfT< Ttypes >

YAPF template that uses Ttypes template argument to determine all YAPF components (base classes) from which the actual YAPF is composed.

For example classes consult: CYapfRail_TypesT template and its instantiations: CYapfRail1, CYapfRail2, CYapfRail3, CYapfAnyDepotRail1, CYapfAnyDepotRail2, CYapfAnyDepotRail3 < Instance of CYapfBaseT - main YAPF loop and support base class < Cost calculation provider base class < Segment cost cache provider < Origin (tile or two-tile origin) < Destination detector and distance (estimate) calculation provider < Node follower (stepping provider)

Definition at line 87 of file yapf_common.hpp.


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