Package ptolemy.kernel.util.test
Class TestDebugEvent
- java.lang.Object
-
- ptolemy.kernel.util.test.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 NamedObjgetSource()Return the director that activated this event.java.lang.StringtoString()Return the the name of the source
-
-
-
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:
getSourcein interfaceDebugEvent- Returns:
- The ptolemy object that published this event.
-
toString
public java.lang.String toString()
Return the the name of the source- Specified by:
toStringin interfaceDebugEvent- Overrides:
toStringin classjava.lang.Object- Returns:
- A user-readable string describing the event.
-
-