startProcessSequence

fun <T : ProcessModel.Entity> startProcessSequence(entity: T, timeUntilActivation: Double = 0.0, priority: Int = KSLEvent.DEFAULT_PRIORITY): KSLEvent<KSLProcess>?

Cause the entity to start the process sequence in the order specified by the sequence. The activation of the first process is governed by an event that is scheduled to occur based on the time until activation parameter.

Return

the scheduled activation event or null if there were no processes to start.

Parameters

entity

the entity to start the sequence

timeUntilActivation

the time until the first process in the sequence activates

priority

the priority associated with the event to start the first process


fun <T : ProcessModel.Entity> startProcessSequence(entity: T, timeUnitActivation: GetValueIfc, priority: Int = KSLEvent.DEFAULT_PRIORITY): KSLEvent<KSLProcess>?

Cause the entity to start the process sequence in the order specified by the sequence. The activation of the first process is governed by an event that is scheduled to occur at the specified activation time.

Return

the scheduled activation event or null if there were no processes to start.

Parameters

entity

the entity to start the sequence

timeUnitActivation

the time until the start of the first process in the sequence

priority

the priority associated with the event to start the first process