Package ptolemy.domains.tm.kernel
Interface ScheduleListener
-
- All Known Implementing Classes:
SchedulePlotter
,TestScheduleListener
public interface ScheduleListener
Interface 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 int
RESET_DISPLAY
Reset display message.static int
TASK_BLOCKED
Task blocked message.static int
TASK_RUNNING
Task running message.static int
TASK_SLEEPING
Task sleeping message.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
event(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_BLOCKED
orTASK_RUNNING
.
-
-