protected static class ThreadedComposite.TokenFrame
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType |
EVENT
A (possibly empty) bundle of data and a time
stamp that is either provided to the inside thread from
the inputs of a ThreadedComposite or provided by the
inside thread to form the outputs of a ThreadedComposite.
|
static ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType |
POSTFIRE
POSTFIRE is a frame indicating that the inside actor
can be postfired.
|
static ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType |
STOP
STOP is a frame provided to the inside thread to indicate
that it should stop executing.
|
Time |
time
The time.
|
java.util.List<ptolemy.actor.lib.hoc.ThreadedComposite.QueuedToken> |
tokens
A list of tokens.
|
ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType |
type
The type of the frame.
|
Constructor and Description |
---|
TokenFrame(Time theTime,
java.util.List<ptolemy.actor.lib.hoc.ThreadedComposite.QueuedToken> theTokens,
ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType theType)
Construct a TokenFrame.
|
public final Time time
public final java.util.List<ptolemy.actor.lib.hoc.ThreadedComposite.QueuedToken> tokens
public final ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType type
public static final ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType EVENT
public static final ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType POSTFIRE
public static final ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType STOP
public TokenFrame(Time theTime, java.util.List<ptolemy.actor.lib.hoc.ThreadedComposite.QueuedToken> theTokens, ptolemy.actor.lib.hoc.ThreadedComposite.TokenFrame.FrameType theType)
theTime
- The time of this token frame.theTokens
- a list of QueueTokens.theType
- The FrameType.