
IsPresent |
ptolemy.actor.lib.logic.IsPresent |
On each firing, output true if the input is present and false otherwise.
The type of the output port is boolean, and the input is general.
The width of the input is expected to match the width of the output.
Note that the utility of this actor varies by domain. In PN, for
example, the input is always present (by definition). In SDF, it is
expected to be always present, but may not be. In DE, the actor is
only triggered if one of the input channels has data. The actor is
probably most useful in synchronous domains like SR and Giotto.
Author(s): Edward A. Lee
Version:$Id: IsPresent.java,v 1.17 2005/10/28 20:16:16 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (eal)