Class TimedMonitorValue

  • All Implemented Interfaces:
    java.lang.Cloneable, Actor, Executable, FiringsRecordable, Initializable, PortablePlaceable, TypedActor, Changeable, Debuggable, DebugListener, Derivable, Instantiable, ModelErrorHandler, MoMLExportable, Moveable, Nameable

    public class TimedMonitorValue
    extends MonitorValue
    Monitor inputs by setting the value parameter equal to each arriving token. This actor can be used with an icon that displays the value of a parameter to get on-screen display of values in a diagram. The value is updated only in postfire.

    Note that the icon for this actor is defined in ptolemy/actor/lib/timedsinks.xml, which looks something like

    <entity name="TimedMonitorValue" class="ptolemy.actor.lib.TimedMonitorValue">
    <doc>Monitor and display values</doc>
       <property name="displayWidth" class="ptolemy.data.expr.Parameter" value="20"/>
       <property name="_icon" class="ptolemy.vergil.icon.UpdatedValueIcon">
          <property name="attributeName" value="value"/>
          <property name="displayWidth" value="displayWidth"/>
       </property>
    </entity>
     
    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Christopher Brooks
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (cxh)