Public Member Functions | Protected Attributes

CargoReroute Class Reference

Action of rerouting cargo between different station cargo lists and/or next hops. More...

#include <cargoaction.h>

Inheritance diagram for CargoReroute:
CargoMovement< StationCargoList, StationCargoList >

Public Member Functions

 CargoReroute (StationCargoList *source, StationCargoList *dest, uint max_move, StationID avoid, StationID avoid2, const GoodsEntry *ge)
bool operator() (CargoPacket *cp)
 Reroutes some cargo from one Station sublist to another.

Protected Attributes

StationID avoid
StationID avoid2
const GoodsEntryge

Detailed Description

Action of rerouting cargo between different station cargo lists and/or next hops.

Definition at line 118 of file cargoaction.h.


Member Function Documentation


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