public interface Task extends Actor
In a real-time system the contained tasks and the scheduler communicate through the set of released jobs: the tasks release jobs in that set and the scheduler executes them.
Since many interesting task types are aware of when they
will release their next job in the future, the single thread of control
implementation presented in EDF
, advances time in a way that respects
those release times of tasks. For that, it has to be possible to query
all tasks included in a real-time system when they will release their next job.
That functionality is guaranteed by this interface.
COMPLETED, NOT_READY, STOP_ITERATING
Modifier and Type | Method and Description |
---|---|
Time |
nextFireTime()
Return the next time that the task will fire, or release a new job.
|
createReceivers, getCausalityInterface, getDirector, getExecutiveDirector, getManager, inputPortList, newReceiver, outputPortList
fire, isFireFunctional, isStrict, iterate, postfire, prefire, stop, stopFire, terminate
addInitializable, initialize, preinitialize, removeInitializable, wrapup
description, getContainer, getDisplayName, getFullName, getName, getName, setName
Time nextFireTime() throws IllegalActionException
IllegalActionException
- If the next time cannot be computed.