Package ptolemy.domains.tm.kernel
Interface ScheduleListener
-
- All Known Implementing Classes:
SchedulePlotter,TestScheduleListener
public interface ScheduleListenerInterface for listeners that receive schedule messages.- Since:
- Ptolemy II 2.0
- Version:
- $Id$
- Author:
- Johan Eker
- See Also:
NamedObj- Pt.AcceptedRating:
- Red (johane)
- Pt.ProposedRating:
- Red (johane)
-
-
Field Summary
Fields Modifier and Type Field Description static intRESET_DISPLAYReset display message.static intTASK_BLOCKEDTask blocked message.static intTASK_RUNNINGTask running message.static intTASK_SLEEPINGTask sleeping message.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidevent(java.lang.String actorName, double time, int scheduleEvent)React to the given scheduling event.
-
-
-
Field Detail
-
RESET_DISPLAY
static final int RESET_DISPLAY
Reset display message.- See Also:
- Constant Field Values
-
TASK_SLEEPING
static final int TASK_SLEEPING
Task sleeping message.- See Also:
- Constant Field Values
-
TASK_BLOCKED
static final int TASK_BLOCKED
Task blocked message.- See Also:
- Constant Field Values
-
TASK_RUNNING
static final int TASK_RUNNING
Task running message.- See Also:
- Constant Field Values
-
-
Method Detail
-
event
void event(java.lang.String actorName, double time, int scheduleEvent)React to the given scheduling event.- Parameters:
actorName- The name of the actor involved in the event.time- The time of the event.scheduleEvent- One ofRESET_DISPLAY,TASK_SLEEPING,TASK_BLOCKEDorTASK_RUNNING.
-
-