DoInOrder

Several actions, in order, at one stop.

Serving a stop is two things -- put down, then pick up -- and they have to be one TourStop rather than two, because an instruction to skip a stop applies to the whole visit and a vehicle that alighted but did not board would be neither serving nor skipping.

Constructors

Link copied to clipboard
constructor(actions: List<TourStopActionIfc>)
constructor(vararg actions: TourStopActionIfc)

Properties

Link copied to clipboard
Link copied to clipboard
open override val loadChange: Int

How many loads this stop is planned to add to the vehicle: +1 for a collection, -1 for a delivery, 0 for a stop that carries nothing either way.

Link copied to clipboard
open override val servesStop: Stop?

The permanent stop this action serves, or null for an action that serves none.

Link copied to clipboard
open override val task: Dispatcher.Task?

The task this action acts on behalf of, or null for an action that acts on nobody's.

Functions

Link copied to clipboard
open suspend override fun KSLProcessBuilder.perform(context: StopContextIfc)

Carried out once the vehicle has arrived at StopContextIfc.stop.

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