
BooleanToAnything |
ptolemy.actor.lib.conversions.BooleanToAnything |
This actor converts a boolean input token into any data type.
A true at the input results in an output with value given
by the trueValue parameter.
A false at the input results in an output with value given
by the falseValue parameter.
Author(s): Edward A. Lee
Version:$Id: BooleanToAnything.java,v 1.19 2005/10/28 20:15:24 cxh Exp $
Pt.Proposed Rating:Green (eal)
Pt.Accepted Rating:Red (cxh)
falseValue
The value produced at the output when a false input is read.
trueValue
The value produced at the output when a true input is read.