KSLProcess

interface KSLProcess(source)

Properties

Link copied to clipboard
abstract val currentStateName: String
Link copied to clipboard
Link copied to clipboard
abstract val id: Int
Link copied to clipboard
abstract val isActivated: Boolean
Link copied to clipboard
abstract val isCompleted: Boolean
Link copied to clipboard
abstract val isCreated: Boolean
Link copied to clipboard
abstract val isRunning: Boolean
Link copied to clipboard
abstract val isSuspended: Boolean
Link copied to clipboard
abstract val isTerminated: Boolean
Link copied to clipboard
abstract val name: String
Link copied to clipboard

The simulation time that the process completed. If the process was never completed, this returns Double.NaN

Link copied to clipboard

The elapsed time from start to completion.

Link copied to clipboard
abstract val processStartTime: Double

The simulation time that the process first started (activated) after being created. If the process was never started, this returns Double.NaN

Functions

Link copied to clipboard
abstract fun isInDelay(name: String): Boolean

True when this process is currently in a delay with the given suspension name, so that the delay can be interrupted. False when the process is in a delay with another name, is waiting for something other than a delay, is moving, has not started, or has ended.