This actor produces an event with the specified value at the
specified time. In its initialize() method, it requests a firing
at the specified time. If the <i>time</i>
parameter changes before that time is reached, then the event is
effectively canceled. No event will be produced.
<p>
If used with a director that implements SuperdenseTimeDirector, then
this actor will produce its output event at microstep 1.
If it is fired at microstep 0 at the specified model time,
then it requests a refiring at the current time.
This ensures piecewise continuity.
<p>
Note that you do not really need this actor. The
<a href="../../../ptolemy/actor/lib/DiscreteClock.xml">ptolemy.actor.lib.DiscreteClock</a> actor can produce any finite sequence of
events by setting is <i>period</i> to Infinity.
Edward A. Lee
$Id: SingleEvent.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 10.0
Yellow (eal)
Red (liuj)
The output port. The type of this port is linked to the type
of the <i>value</i> parameter.
The time at which to produce the output. This has type double,
with default value 0.0.
If the value is negative, then no output will be produced.
The value produced at the output. This can have any type,
and it defaults to a boolean token with value <i>true</i>.