This actor outputs a set of events at a discrete set of time points.
It can be used to generate impulses in Continuous models. Events are
produced at superdense time index 1 or greater in order to ensure
that the output is piecewise continuous.
<p>
This actor only generates predictable events and that is why it does not
implement the ContinuousStepSizeControlActor interface. This actor requests a
refiring in its initialize() method to produce events. During its postfire()
method, it requests further firings to produce more events if necessary.
Haiyang Zheng
$Id: EventSource.java 70402 2014-10-23 00:52:20Z cxh $
Ptolemy II 6.0
Yellow (hyzheng)
Yellow (hyzheng)
The output port. The type of this port is determined by from
the <i>values</i> parameter.
The offsets at which the specified values will be produced.
This parameter must contain an array of doubles, and it defaults
to {0.0, 1.0}.
The period of the output events.
This parameter must contain a DoubleToken, and defaults to 2.0.
The values that will be produced at the specified offsets.
This parameter must contain an ArrayToken, and defaults to {1, 0}.