Package ptolemy.domains.sequence.kernel
Class SequenceFiring
- java.lang.Object
-
- ptolemy.actor.sched.ScheduleElement
-
- ptolemy.actor.sched.Firing
-
- ptolemy.domains.sequence.kernel.SequenceFiring
-
public class SequenceFiring extends Firing
A schedule element specifically for the SequenceDirector and ProcessDirector that can optionally contain a reference to a specific fire method for an actor.
-
-
Field Summary
-
Fields inherited from class ptolemy.actor.sched.ScheduleElement
_parent
-
-
Constructor Summary
Constructors Constructor Description SequenceFiring()
Construct a firing with a default iteration count equal to one and with no parent schedule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMethodName()
Get the method name to be executed when the actor fires, or null if there is none.void
setMethodName(java.lang.String methodName)
Set the method name to be executed when the actor fires.-
Methods inherited from class ptolemy.actor.sched.Firing
actorIterator, firingIterator, getActor, setActor, toString
-
Methods inherited from class ptolemy.actor.sched.ScheduleElement
_getVersion, _incrementVersion, getIterationCount, setIterationCount, setParent
-
-
-
-
Method Detail
-
getMethodName
public java.lang.String getMethodName()
Get the method name to be executed when the actor fires, or null if there is none.- Returns:
- The method name, or null.
- See Also:
setMethodName(String)
-
setMethodName
public void setMethodName(java.lang.String methodName)
Set the method name to be executed when the actor fires.- Parameters:
methodName
- The specified methodName.- See Also:
getMethodName()
-
-