|
OpenTTD Source
1.10.0-RC1
|
Stateless, thread safe demand handler. More...
#include <demands.h>
Public Member Functions | |
| virtual void | Run (LinkGraphJob &job) const |
| Call the demand calculator on the given component. More... | |
| virtual | ~DemandHandler () |
| Virtual destructor has to be defined because of virtual Run(). | |
Public Member Functions inherited from ComponentHandler | |
| virtual | ~ComponentHandler () |
| Destroy the handler. More... | |
Stateless, thread safe demand handler.
Doesn't do anything but call DemandCalculator.
|
inlinevirtual |
Call the demand calculator on the given component.
| job | Component to calculate the demands for. |
Implements ComponentHandler.