Class EventDebugEvent

  • All Implemented Interfaces:
    DebugEvent

    public class EventDebugEvent
    extends StateEvent
    An event indicating the beginning and end of processing an event. This event can be used for debugging.
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Thomas Huining Feng
    Pt.AcceptedRating:
    Red (tfeng)
    Pt.ProposedRating:
    Yellow (tfeng)
    • Constructor Detail

      • EventDebugEvent

        public EventDebugEvent​(PteraController source,
                               Event event,
                               boolean isProcessed)
        Construct an event with the specified source and destination Ptera event.
        Parameters:
        source - The source of this state event.
        event - The Ptera event.
        isProcessed - Whether the Ptera event is processed or not.
    • Method Detail

      • getEvent

        public Event getEvent()
        Get the Ptera event.
        Returns:
        The Ptera event.
      • isProcessed

        public boolean isProcessed()
        Return whether the Ptera event is processed.
        Returns:
        Whether the Ptera event is processed.