Class Align

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

    @Deprecated
    public class Align
    extends Transformer
    Deprecated.
    No longer needed. Use Sampler.
    Given any new input event, produce on the output channels the current value of all the corresponding input channels. If an input channel has not yet received any value and has no default value, then no output is produced. If any input channel has most recently received a SmoothToken, then the value of that token is extrapolated to the current time to get the current value.

    This actor has a trigger port, which, if connected, will determine when outputs are sent. That is, if this port is connected, then outputs will be produced only when an event is received on some channel of the trigger port.

    This actor is no longer needed, since retrieving a SmoothToken from an input port will automatically be extrapolated to the current time. You can use the ordinary Sampler actor instead.

    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Edward A. Lee
    Pt.AcceptedRating:
    Red (eal)
    Pt.ProposedRating:
    Yellow (eal)