OpenTTD Source 20260311-master-g511d3794ce
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.
Public Member Functions inherited from ComponentHandler
virtual ~ComponentHandler ()=default
 Ensure the destructor of the sub classes are called as well.

Detailed Description

Stateless, thread safe initialization handler.

Initializes node and edge annotations.

Definition at line 19 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 26 of file init.h.

References LinkGraphJob::Init().


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