DemandHandler Class Reference

Stateless, thread safe demand hander. More...

#include <demands.h>

Inheritance diagram for DemandHandler:
ComponentHandler

Public Member Functions

virtual void Run (LinkGraphComponent *graph)
 Call the demand calculator on the given component.
virtual ~DemandHandler ()
 Virtual destructor has to be defined because of virtual Run().

Detailed Description

Stateless, thread safe demand hander.

Doesn't do anything but call DemandCalculator.

Definition at line 144 of file demands.h.


Member Function Documentation

virtual void DemandHandler::Run ( LinkGraphComponent graph  )  [inline, virtual]

Call the demand calculator on the given component.

Parameters:
graph Component to calculate the demands for.

Implements ComponentHandler.

Definition at line 151 of file demands.h.


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

Generated on Sun Jun 5 04:20:55 2011 for OpenTTD by  doxygen 1.6.1