
Queue |
ptolemy.domains.de.lib.Queue |
This actor implements an event queue. When a token is received on the
<i>input</i> port, it is stored in the queue.
When the <i>trigger</i> port receives a token, the oldest element in the
queue is output. If there is no element in the queue when a
token is received on the <i>trigger</i> port, then no output is
produced. The inputs can be of any token type, and the output
is constrained to be of a type at least that of the input. There is no
constraint on the size of queue.
<p>
Author(s): Steve Neuendorffer
Version:$Id: Queue.doc.html,v 1.1 2006/02/22 18:41:22 mangal Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Yellow (eal)
trigger
The trigger port, which has undeclared type. If this port
receives a token, then the oldest token in the queue
will be emitted on the <i>output</i> port.