Class TestDebugEvent

  • All Implemented Interfaces:
    DebugEvent

    public class TestDebugEvent
    extends java.lang.Object
    implements DebugEvent
    Class used to test DebugEvent
    Since:
    Ptolemy II 1.0
    Version:
    $Id$
    Author:
    Christopher Hylands
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (neuendor)
    • Constructor Summary

      Constructors 
      Constructor Description
      TestDebugEvent​(NamedObj source)
      Create a new firing event with the given source, actor, and type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NamedObj getSource()
      Return the director that activated this event.
      java.lang.String toString()
      Return the the name of the source
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TestDebugEvent

        public TestDebugEvent​(NamedObj source)
        Create a new firing event with the given source, actor, and type.
    • Method Detail

      • getSource

        public NamedObj getSource()
        Return the director that activated this event.
        Specified by:
        getSource in interface DebugEvent
        Returns:
        The ptolemy object that published this event.
      • toString

        public java.lang.String toString()
        Return the the name of the source
        Specified by:
        toString in interface DebugEvent
        Overrides:
        toString in class java.lang.Object
        Returns:
        A user-readable string describing the event.