|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.domains.tdl.kernel.LetTask
public class LetTask
A TTTask (time triggered task) is an actor with an invocationPeriod and a logical execution time.
Field Summary | |
---|---|
private Actor |
_actor
performs the task execution, |
private long |
_invocationPeriod
The invocation period of a task specifies the amount of time that passes before the task needs to be executed again. |
private long |
_let
The logical execution time is the logical time required by the task for execution. |
private long |
_offset
the offset of the task specifies the time the task is first invoked. |
Constructor Summary | |
---|---|
LetTask(Actor actor,
long let,
long invocationPeriod,
long start)
Create a new LET task. |
Method Summary | |
---|---|
Actor |
getActor()
Return the actor representing the task. |
long |
getInvocationPeriod()
Return the invocation period of the task. |
long |
getLet()
Return the LET of the task. |
long |
getOffset()
Return the offset of the task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private long _invocationPeriod
private long _let
private Actor _actor
private long _offset
Constructor Detail |
---|
public LetTask(Actor actor, long let, long invocationPeriod, long start)
actor
- The LET task.let
- The LET of the task.invocationPeriod
- The period of invocation of the task.start
- The start time of the task.Method Detail |
---|
public long getInvocationPeriod()
public long getLet()
public Actor getActor()
public long getOffset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |