OpenTTD Source  20240919-master-gdf0233f4c2
InitHandler Class Reference

Stateless, thread safe initialization handler. More...

#include <init.h>

Inheritance diagram for InitHandler:
ComponentHandler

Public Member Functions

void Run (LinkGraphJob &job) const override
 Initialize the link graph job. More...
 
- Public Member Functions inherited from ComponentHandler
virtual ~ComponentHandler ()=default
 Destroy the handler. More...
 

Detailed Description

Stateless, thread safe initialization handler.

Initializes node and edge annotations.

Definition at line 12 of file init.h.

Member Function Documentation

◆ Run()

void InitHandler::Run ( LinkGraphJob job) const
inlineoverridevirtual

Initialize the link graph job.

Parameters
jobJob to be initialized.

Implements ComponentHandler.

Definition at line 19 of file init.h.

References LinkGraphJob::Init().


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