Class DummyReferenceToken


  • public class DummyReferenceToken
    extends Token

    Class comments

    DummyReferenceToken is a token encapsulating a reference to a shared data object. It is used for testing the OptimizingSDFDirector.

    See OptimizingSDFDirector and DummyFrame for more information.

    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Marc Geilen
    See Also:
    OptimizingSDFDirector, DummyFrame
    Pt.AcceptedRating:
    Red ()
    Pt.ProposedRating:
    Red (mgeilen)
    • Constructor Detail

      • DummyReferenceToken

        public DummyReferenceToken​(java.lang.Object r)
        Create an instance of a reference token.
        Parameters:
        r - the object the token shall refer to
    • Method Detail

      • getReference

        public java.lang.Object getReference()
        Gets the reference.
        Returns:
        referenced object
      • toString

        public java.lang.String toString()
        Provide a string representation of the token.
        Overrides:
        toString in class Token
        Returns:
        string representation of the token