ResponseAnimationEmitter

A ModelElementObserver that emits an AnimationEvent.ResponseObserved each time a Response (including its time-weighted subtype TWResponse) or a Counter is observed. Setting a response's or counter's value fires a Status.UPDATE notification, which routes here as update.

Attach one instance to each statistical variable you want to animate (response.attachModelElementObserver(emitter)); a single instance can observe many variables because update receives the element that fired.

Parameters

name

optional observer name

Constructors

Link copied to clipboard
constructor(name: String? = null)

Functions

Link copied to clipboard
protected open override fun update(modelElement: ModelElement)