Package ptolemy.kernel.util
Interface DebugEvent
- 
- All Known Implementing Classes:
- EventDebugEvent,- ExecEvent,- ExecEvent,- FiringEvent,- IOPortEvent,- PteraDebugEvent,- PteraErrorEvent,- StateEvent,- TestDebugEvent,- TypeEvent
 
 public interface DebugEventAn interface for events that can be used for debugging. These events will generally be subclassed to create events with more meaning (such as a FiringEvent). Debug events should always have a useful string representation, so that the generic listeners (such as StreamListener) can display them reasonably. This string representation should be provided by the toString() method.- Since:
- Ptolemy II 1.0
- Version:
- $Id$
- Author:
- Steve Neuendorffer
- See Also:
- DebugListener,- Debuggable,- FiringEvent
- Pt.AcceptedRating:
- Green (neuendor)
- Pt.ProposedRating:
- Green (neuendor)
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description NamedObjgetSource()Return the source of the event.java.lang.StringtoString()Return a string representation of this event.
 
- 
- 
- 
Method Detail- 
getSourceNamedObj getSource() Return the source of the event.- Returns:
- The ptolemy object that published this event.
 
 - 
toStringjava.lang.String toString() Return a string representation of this event.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- A user-readable string describing the event.
 
 
- 
 
-