This actor takes a sequence of inputs tagged with a sequence number
and produces them on the output port in the order given by the
sequence number. The sequence numbers are integers starting
with zero. On each firing, this actor consumes one token
from the <i>input</i> port and one token from the
<i>sequenceNumber</i> port. If the sequence number is the
next one in the sequence, then the token read from the <i>input</i>
port is produced on the <i>output</i> port. Otherwise,
it is saved until its sequence number is the next one
in the sequence. If an output is produced, then it may
be immediately followed by tokens that were previously
saved, if their sequence numbers are next.
Edward A. Lee
$Id: Sequencer.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 1.0
Yellow (eal)
Yellow (ctsay)
Input for the sequence number. The type is int.
The first number of the sequence. This is an int that
defaults to 0.