When
ptolemy.domains.sr.lib.When

When the <i>control</i> input is true, copy the <i>input</i> to the <i>output</i>. If <i>control</i> is absent, or it is true and <i>input</i> is absent, then the output is absent. This actor is inspired by the "when" operator in the synchronous languages LUSTRE and SIGNAL.

Author(s): Edward A. Lee
Version:$Id: When.doc.html,v 1.1 2006/02/22 18:42:26 mangal Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (cxh)


control
The control input port. This has type boolean.