Update: Translations from eints
[openttd-github.git] / src / linkgraph / init.h
bloba913613da3c02bd4d304a13c782867de2adf7b0a
1 /** @file init.h Declaration of initializing link graph handler. */
3 #ifndef INIT_H
4 #define INIT_H
6 #include "linkgraphjob_base.h"
8 /**
9 * Stateless, thread safe initialization handler. Initializes node and edge
10 * annotations.
12 class InitHandler : public ComponentHandler {
13 public:
15 /**
16 * Initialize the link graph job.
17 * @param job Job to be initialized.
19 void Run(LinkGraphJob &job) const override { job.Init(); }
22 #endif /* INIT_H */