MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Queue

Method Queue

src/linkgraph/linkgraphschedule.h:67–71  ·  view source on GitHub ↗

* Queue a link graph for execution. * @param lg Link graph to be queued. */

Source from the content-addressed store, hash-verified

65 * @param lg Link graph to be queued.
66 */
67 void Queue(LinkGraph *lg)
68 {
69 assert(LinkGraph::Get(lg->index) == lg);
70 this->schedule.push_back(lg);
71 }
72
73 /**
74 * Remove a link graph from the execution queue.

Callers 3

JoinNextMethod · 0.95
IncreaseStatsFunction · 0.80
UpdateStationWaitingFunction · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected