|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.domains.ptera.kernel.PteraDebugEvent
public class PteraDebugEvent
A debug event for Ptera models.
Red (tfeng) |
Yellow (tfeng) |
Field Summary | |
---|---|
private java.lang.String |
_message
The message. |
private NamedObj |
_source
The source. |
Constructor Summary | |
---|---|
PteraDebugEvent(NamedObj source,
java.lang.String message)
Construct a debug event with the source and a message. |
Method Summary | |
---|---|
NamedObj |
getSource()
Return the source of the debug event. |
java.lang.String |
toString()
Return the message. |
java.lang.String |
toString(NamedObj sourceContainer)
Return a string that includes both the name of the source (within the given container) and the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String _message
private NamedObj _source
Constructor Detail |
---|
public PteraDebugEvent(NamedObj source, java.lang.String message)
source
- The source of the debug event.message
- The message.Method Detail |
---|
public NamedObj getSource()
getSource
in interface DebugEvent
public java.lang.String toString()
toString
in interface DebugEvent
toString
in class java.lang.Object
public java.lang.String toString(NamedObj sourceContainer)
sourceContainer
- Container of the source that is used to retrieve
part of the full name of the source.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |