| OpenTTD
    | 
A handler doing "something" on a link graph component. More...
#include <linkgraphschedule.h>
 
  
 | Public Member Functions | |
| virtual | ~ComponentHandler () | 
| Destroy the handler. | |
| virtual void | Run (LinkGraphJob &job) const =0 | 
| Run the handler. | |
A handler doing "something" on a link graph component.
It must not keep any state as it is called concurrently from different threads.
Definition at line 23 of file linkgraphschedule.h.
| 
 | inlinevirtual | 
Destroy the handler.
Must be given due to virtual Run.
Definition at line 28 of file linkgraphschedule.h.
| 
 | pure virtual | 
Run the handler.
A link graph handler must not read or write any data outside the given component as that would create a potential desync.
| job | Link graph component to run the handler on. | 
Implemented in MCFHandler< Tpass >, DemandHandler, FlowMapper, and InitHandler.
Referenced by LinkGraphSchedule::Run().
 1.8.1.2
 1.8.1.2