Ride

One load's intention to be carried somewhere, waiting here until a vehicle takes it.

A QObject, so the ride queues and carries the waiting statistics while the rider itself is suspended in a hold queue that reports nothing -- exactly the division Dispatcher.Task and TaskQ make, and for the same reason.

It is deliberately not a Dispatcher.Task. Nothing is posted, nothing is assigned, and no policy ranks it; a task would manufacture a decision this system does not make.

Properties

Link copied to clipboard

When it went aboard. NaN until then.

Link copied to clipboard

Which vehicle took it. Null until then.

Link copied to clipboard
Link copied to clipboard

True while the rider is waiting to be carried: from the moment its process waits for the ride until a vehicle takes it. A rider that has joined the line and not yet begun to wait is finishing something, and no vehicle takes it.

Link copied to clipboard

How many vehicles served this stop while it waited and left it standing.

Link copied to clipboard
Link copied to clipboard
val stop: Stop

Where it is waiting, or waited.

Functions

Link copied to clipboard
open override fun toString(): String