Produce a constant output. The value of the
output is that of the token contained by the <i>value</i> parameter,
which by default is an IntToken with value 1. The type of the output
is that of <i>value</i> parameter.
<p>
If the trigger port is connected, then this actor fires only if a token is
provided on any channel of the trigger port. The value of that token
does not matter. Specifically, if there is no such token, the prefire()
method returns false.</p>
Yuhong Xiong, Edward A. Lee
$Id: Const.java 69607 2014-07-30 17:07:26Z cxh $
Ptolemy II 0.2
Green (eal)
Green (bilung)
The value produced by this constant source.
By default, it contains an IntToken with value 1. If the
type of this token is changed during the execution of a model,
then the director will be asked to redo type resolution.
<p>The Ptolemy II Expression language defines the syntax
for this parameter. In Vergil, documentation is available
via the Help button in the Edit Parameters window. Documentation
is available on-line at
<a href="http://ptolemy.eecs.berkeley.edu/books/Systems/chapters/Expressions.pdf#in_browser">http://ptolemy.eecs.berkeley.edu/books/Systems/chapters/Expressions.pdf</a>.
</p>