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