Files
@ r21610:44b8e9a9a523
Branch filter:
Location: cpp/openttd-patchpack/source/src/linkgraph/init.h - annotation
r21610:44b8e9a9a523
557 B
text/x-c
(svn r26742) -Doc: Why reverse_iterator is unsuitable for ScriptList iterators
r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 r20341:d334ae194449 | /** @file init.h Declaration of initializing link graph handler. */
#ifndef INIT_H
#define INIT_H
#include "linkgraphjob_base.h"
/**
* Stateless, thread safe initialization hander. Initializes node and edge
* annotations.
*/
class InitHandler : public ComponentHandler {
public:
/**
* Initialize the link graph job.
* @param job Job to be initialized.
*/
virtual void Run(LinkGraphJob &job) const { job.Init(); }
/**
* Virtual destructor has to be defined because of virtual Run().
*/
virtual ~InitHandler() {}
};
#endif /* INIT_H */
|