|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.domains.fsm.kernel.StateEvent
public class StateEvent
An event indicating a state change. This event can be used for debugging.
| Red (nobody) |
| Yellow (eal) |
| Field Summary | |
|---|---|
private FSMActor |
_source
|
private State |
_state
|
| Constructor Summary | |
|---|---|
StateEvent(FSMActor source,
State state)
Construct an event with the specified source and destination state. |
|
| Method Summary | |
|---|---|
NamedObj |
getSource()
Return the source of the event, which is an instance of FSMActor. |
State |
getState()
Return the state to which this event refers. |
java.lang.String |
toString()
Return a string representation of this event, which is the string "New state: name of state". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private FSMActor _source
private State _state
| Constructor Detail |
|---|
public StateEvent(FSMActor source,
State state)
source - The source of this state event.state - The state of this event refers to.| Method Detail |
|---|
public NamedObj getSource()
getSource in interface DebugEventpublic State getState()
public java.lang.String toString()
toString in interface DebugEventtoString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||