Process Activator
constructor(entityCreator: () -> T, initialCountLimit: Int = 1, processName: String? = null, resetCountOption: Boolean = true, activationPriority: Int = KSLEvent.DEFAULT_PRIORITY, name: String? = null)(source)
Parameters
entity Creator
the thing that creates the entities of the particular type. Typically, a reference to the constructor of the class
initial Count Limit
the limit to use to indicate when to activate the entity
process Name
the name of the process, from the process() function that will be activated
reset Count Option
if true the counter will be reset after an activation occurs. True is the default. True allows multiple activations based on the count limit.
activation Priority
the priority for scheduling the activation at the time the counter is reached
name
the model element name, must be unique.