CFollowRouteLinkT Struct Reference

Route link follower. More...

Public Member Functions

 CFollowRouteLinkT (CargoID cid)
bool Follow (RouteLink *from)
 Fill in route links reachable by this route link.

Data Fields

CargoID m_cid
RouteLinkm_old_link
RouteLinkListm_new_links

Detailed Description

Route link follower.

Definition at line 70 of file yapf_cargo.cpp.


Member Function Documentation

bool CFollowRouteLinkT::Follow ( RouteLink from  )  [inline]

Fill in route links reachable by this route link.

Definition at line 78 of file yapf_cargo.cpp.

References SpecializedStation< Station, false >::Get(), RouteLink::GetDestination(), Station::goods, and GoodsEntry::routes.


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

Generated on Sun May 8 07:30:58 2011 for OpenTTD by  doxygen 1.6.1