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