Class LetTask


  • public class LetTask
    extends java.lang.Object
    A TTTask (time triggered task) is an actor with an invocationPeriod and a logical execution time.
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Patricia Derler
    • Constructor Summary

      Constructors 
      Constructor Description
      LetTask​(Actor actor, long let, long invocationPeriod, long start)
      Create a new LET task.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • LetTask

        public LetTask​(Actor actor,
                       long let,
                       long invocationPeriod,
                       long start)
        Create a new LET task.
        Parameters:
        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

      • getInvocationPeriod

        public long getInvocationPeriod()
        Return the invocation period of the task.
        Returns:
        the invocationPeriod.
      • getLet

        public long getLet()
        Return the LET of the task.
        Returns:
        the LET.
      • getActor

        public Actor getActor()
        Return the actor representing the task.
        Returns:
        the task actor.
      • getOffset

        public long getOffset()
        Return the offset of the task.
        Returns:
        the offset.