
BinarySwitch |
ptolemy.domains.ci.lib.BinarySwitch |
An actor that calls Thread.sleep() on the current thread the first
time fire() is called. The sleep delays the inputs for a certain
amount of real time, specified by the <i>sleepTime</i> parameter.
<p>Note that one way to slow down the execution of a model while running
inside vergil is to turn on animation.
<p>If the width of the output port is less than that of the input port,
the tokens in the extra channels are lost.
Author(s): Yang Zhao, based on Sleep by Jie Liu, Christopher Hylands
Version:$Id: BinarySwitch.doc.html,v 1.1 2006/02/22 18:40:26 mangal Exp $
Pt.Proposed Rating:Yellow (cxh)
Pt.Accepted Rating:Yellow (cxh)