EventAction

protected abstract inner class EventAction<T> : ModelElement.EventActionIfc<T> (source)

A convenience base class for creating event actions associated with the model element. The class has the ability to schedule its action.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun schedule(timeToEvent: Double, message: T? = null, priority: Int = KSLEvent.DEFAULT_PRIORITY, name: String? = null): KSLEvent<T>

Allows event actions to more conveniently schedule themselves

fun schedule(timeToEvent: GetValueIfc, message: T? = null, priority: Int = KSLEvent.DEFAULT_PRIORITY, name: String? = null): KSLEvent<T>