Package | Description |
---|---|
ptolemy.actor |
Executable entities.
|
ptolemy.actor.continuous |
The ptolemy.actor.continuous package.
|
ptolemy.actor.lib |
Polymorphic actor classes.
|
ptolemy.actor.lib.hoc |
Higher Order Component Classes.
|
ptolemy.actor.sched |
Schedule related classes.
|
ptolemy.actor.util |
Actor utilities.
|
ptolemy.data |
Packages for manipulating data that passes between actors.
|
ptolemy.domains.continuous.kernel |
The Continuous domain kernel.
|
ptolemy.domains.continuous.lib |
The ptolemy.domains.continuous.lib package.
|
ptolemy.domains.de.kernel |
The ptolemy.domains.de.kernel package.
|
ptolemy.domains.de.lib |
The ptolemy.domains.de.lib package.
|
ptolemy.domains.modal.kernel |
The ptolemy.domains.modal.kernel package.
|
ptolemy.domains.pn.kernel |
The Kahn-MacQueen process network domain.
|
ptolemy.domains.sdf.kernel |
The ptolemy.domains.sdf.kernel package.
|
Modifier and Type | Field and Description |
---|---|
protected Time |
Director._zeroTime
Time with value 0.0.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<ActorExecutionAspect,Time> |
Director._nextScheduleTime
Next time the aspect wants to be executed.
|
Modifier and Type | Method and Description |
---|---|
protected Time |
Director._consultTimeRegulators(Time proposedTime)
Consult all attributes contained by the container of this director
that implement the
TimeRegulator interface, if any, and return the
smallest time returned by those regulators. |
Time |
Director.fireAt(Actor actor,
Time time)
Request a firing of the given actor at the given model
time.
|
Time |
Director.fireAt(Actor actor,
Time time,
int microstep)
Request a firing of the given actor at the given model
time with the given microstep.
|
Time |
Director.fireAtCurrentTime(Actor actor)
Request a firing of the given actor at the current model time or later.
|
Time |
Director.fireContainerAt(Time time)
Request a firing of the container of this director at the specified time
and throw an exception if the executive director does not agree to
do it at the requested time.
|
Time |
Director.fireContainerAt(Time time,
int microstep)
Request a firing of the container of this director at the specified time,
adjusted by the current offset and drift of the local clock,
and the specified microstep.
|
Time |
Director.getDeadline(NamedObj actor,
Time timestamp)
Compute the deadline for an actor firing.
|
Time |
Director.getEnvironmentTime()
Get current environment time.
|
Time |
LocalClock.getEnvironmentTimeForLocalTime(Time time)
Get the environment time that corresponds to the given local time.
|
Time |
Director.getGlobalTime()
Return the global time for this model.
|
Time |
LocalClock.getLocalTime()
Get current local time.
|
Time |
LocalClock.getLocalTimeForCurrentEnvironmentTime()
Get the local time that corresponds to the current environment time.
|
Time |
LocalClock.getLocalTimeForEnvironmentTime(Time time)
Get the local time that corresponds to the given environment time.
|
Time |
Director.getModelNextIterationTime()
Return the next time of interest in the model being executed by
this director or the director of any enclosing model up the
hierarchy.
|
Time |
Director.getModelStartTime()
Return the start time parameter value, if it has been explicitly
set.
|
Time |
Director.getModelStopTime()
Return the stop time parameter value, if it has been set,
and otherwise, return a time with value Double.POSITIVE_INFINITY.
|
Time |
Director.getModelTime()
Return the current time object of the model being executed by this
director.
|
Time |
AbstractReceiver.getModelTime()
Return the current time associated with this receiver.
|
Time |
IOPort.getModelTime(int channelIndex)
Return the current time associated with a certain channel.
|
Time |
IOPort.getModelTime(int channelIndex,
boolean inside)
Return the current time associated with a certain channel.
|
Time |
TimeRegulator.proposeTime(Time proposedTime)
Propose a time to advance to.
|
static Time |
ExecutionAspectHelper.schedule(ActorExecutionAspect aspect,
NamedObj actor,
Time environmentTime,
Time deadline)
Schedule an actor for execution on an aspect and return the next time
this aspect has to perform an action.
|
Time |
ActorExecutionAspect.schedule(NamedObj actor,
Time environmentTime,
Time deadline,
Time executionTime)
Schedule the actor.
|
Time |
ActorExecutionAspect.schedule(Time environmentTime)
Perform rescheduling actions when no new actor requests to be
scheduled.
|
Modifier and Type | Method and Description |
---|---|
protected Time |
Director._consultTimeRegulators(Time proposedTime)
Consult all attributes contained by the container of this director
that implement the
TimeRegulator interface, if any, and return the
smallest time returned by those regulators. |
protected void |
TypedAtomicActor._fireAt(Time time)
Request a firing of this actor at the specified time
and throw an exception if the director does not agree to
do it at the requested time.
|
protected boolean |
Director._schedule(NamedObj actor,
Time timestamp)
Schedule an actor for execution on a ExecutionAspect.
|
Time |
Director.fireAt(Actor actor,
Time time)
Request a firing of the given actor at the given model
time.
|
Time |
Director.fireAt(Actor actor,
Time time,
int microstep)
Request a firing of the given actor at the given model
time with the given microstep.
|
Time |
Director.fireContainerAt(Time time)
Request a firing of the container of this director at the specified time
and throw an exception if the executive director does not agree to
do it at the requested time.
|
Time |
Director.fireContainerAt(Time time,
int microstep)
Request a firing of the container of this director at the specified time,
adjusted by the current offset and drift of the local clock,
and the specified microstep.
|
Time |
Director.getDeadline(NamedObj actor,
Time timestamp)
Compute the deadline for an actor firing.
|
Time |
LocalClock.getEnvironmentTimeForLocalTime(Time time)
Get the environment time that corresponds to the given local time.
|
Time |
LocalClock.getLocalTimeForEnvironmentTime(Time time)
Get the local time that corresponds to the given environment time.
|
Time |
TimeRegulator.proposeTime(Time proposedTime)
Propose a time to advance to.
|
void |
LocalClock.resetLocalTime(Time time)
Set local time and commit.
|
static Time |
ExecutionAspectHelper.schedule(ActorExecutionAspect aspect,
NamedObj actor,
Time environmentTime,
Time deadline)
Schedule an actor for execution on an aspect and return the next time
this aspect has to perform an action.
|
Time |
ActorExecutionAspect.schedule(NamedObj actor,
Time environmentTime,
Time deadline,
Time executionTime)
Schedule the actor.
|
Time |
ActorExecutionAspect.schedule(Time environmentTime)
Perform rescheduling actions when no new actor requests to be
scheduled.
|
void |
LocalClock.setLocalTime(Time time)
Set local time without committing.
|
void |
Director.setModelTime(Time newTime)
Set a new value to the current time of the model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Advanceable.advance(Time time,
int microstep)
Advance to the specified time.
|
Modifier and Type | Field and Description |
---|---|
protected Time |
DiscreteClock._cycleStartTime
The most recent cycle start time.
|
protected Time |
Clock._cycleStartTime
Deprecated.
The most recent cycle start time.
|
protected Time |
DiscreteClock._nextOutputTime
The time for the next output.
|
protected Time |
Clock._nextOutputTime
Deprecated.
The time for the next output.
|
protected Time |
Clock._tentativeNextOutputTime
Deprecated.
The tentative time for the next output.
|
Time |
TimeDelay.PendingEvent.timeStamp
The time stamp for the pending event.
|
Modifier and Type | Method and Description |
---|---|
Time |
TimedSource.getModelStopTime()
Get the stop time.
|
Time |
PoissonClock.getModelStopTime()
Get the stop time.
|
Time |
SynchronizeToRealTime.proposeTime(Time proposedTime)
Propose a time to advance to.
|
Modifier and Type | Method and Description |
---|---|
Time |
SynchronizeToRealTime.proposeTime(Time proposedTime)
Propose a time to advance to.
|
Modifier and Type | Field and Description |
---|---|
Time |
ThreadedComposite.TokenFrame.time
The time.
|
Modifier and Type | Method and Description |
---|---|
Time |
CaseDirector.fireAt(Actor actor,
Time time,
int microstep)
Schedule a firing of the given actor at the given time.
|
Modifier and Type | Method and Description |
---|---|
Time |
CaseDirector.fireAt(Actor actor,
Time time,
int microstep)
Schedule a firing of the given actor at the given time.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Time |
FixedPointDirector.getModelNextIterationTime()
Return the next time of interest in the model being executed by
this director or the director of any enclosing model up the
hierarchy.
|
Modifier and Type | Field and Description |
---|---|
static Time |
Time.NEGATIVE_INFINITY
A static and final time constant holding a negative infinity.
|
static Time |
Time.POSITIVE_INFINITY
A static and final time constant holding a positive infinity.
|
Time |
TimedEvent.timeStamp
The time stamp.
|
static Time |
Time.ZERO
A static and final time constant holding a zero.
|
Modifier and Type | Method and Description |
---|---|
Time |
Time.add(double timeValue)
Return a new time object whose time value is increased by the
given double value.
|
Time |
Time.add(Time time)
Return a new time object whose time value is the sum of that of
this time object and of the specified time object.
|
Time |
Time.addUnchecked(double timeValue)
Add the specified double to this time without checking whether the
specified double is too large to ensure the time resolution of the
director.
|
Time |
PeriodicDirectorHelper.fireAt(Actor actor,
Time time)
Request a firing of the given actor at the given absolute
time, and return the time at which the specified will be
fired.
|
static Time |
Time.milliseconds(Director director,
long milliseconds)
Return a new Time object whose value equals the argument,
which is interpreted in milliseconds.
|
Time |
Time.subtract(double timeValue)
Return a new Time object whose time value is decreased by the
given double value.
|
Time |
Time.subtract(Time time)
Return a new time object whose time value is decreased by the
time value of the specified time object.
|
Time |
SuperdenseTime.timestamp()
Return the timestamp.
|
Modifier and Type | Method and Description |
---|---|
Time |
Time.add(Time time)
Return a new time object whose time value is the sum of that of
this time object and of the specified time object.
|
Time |
PeriodicDirectorHelper.fireAt(Actor actor,
Time time)
Request a firing of the given actor at the given absolute
time, and return the time at which the specified will be
fired.
|
Time |
Time.subtract(Time time)
Return a new time object whose time value is decreased by the
time value of the specified time object.
|
double |
Time.subtractToDouble(Time time)
Subtract the specified time from this time and return the result as
a double.
|
Constructor and Description |
---|
SuperdenseTime(Time timeStamp,
int index)
Construct a superdense time object with the specified timestamp and
index.
|
TimedEvent(Time time,
java.lang.Object obj)
Construct an event with the specified time stamp and contents.
|
Modifier and Type | Method and Description |
---|---|
Time |
SmoothToken.getTime()
Return the time for which the values of this smooth token are valid.
|
Modifier and Type | Method and Description |
---|---|
static Token[] |
SmoothToken.align(Token[] args,
Time time)
Given an array of Tokens and a time, align them by
extrapolating all tokens that are instances of
SmoothToken to that time, and returning
an array of tokens with the extrapolated values and derivatives.
|
SmoothToken |
SmoothToken.extrapolate(Time time)
Return a SmoothToken at the specified time whose value and derivatives
are the result of extrapolating this token to the specified time.
|
Constructor and Description |
---|
SmoothToken(double[] x,
Time time)
Construct a SmoothToken with the specified value and derivatives, given
as a single array, at the specified time.
|
SmoothToken(double value,
Time time,
double[] derivatives)
Construct a SmoothToken with the specified value at the specified
time, and with the specified derivatives.
|
Modifier and Type | Field and Description |
---|---|
protected Time |
ContinuousDirector._iterationBeginTime
The current time at the start of the current integration step.
|
Modifier and Type | Method and Description |
---|---|
Time |
ContinuousDirector.fireAt(Actor actor,
Time time,
int index)
Handle firing requests from the contained actors by registering
breakpoints.
|
Modifier and Type | Method and Description |
---|---|
Time |
ContinuousDirector.fireAt(Actor actor,
Time time,
int index)
Handle firing requests from the contained actors by registering
breakpoints.
|
void |
ContinuousDirector.setModelTime(Time newTime)
Set a new value to the current time of the model.
|
Modifier and Type | Field and Description |
---|---|
protected Time |
ContinuousTimeDelay._nextFireAt
Records the next scheduled fireAt() call, so that we do not request more than
one fireAt() call for a given input event.
|
Modifier and Type | Field and Description |
---|---|
protected Time |
DEEvent._timestamp
The timestamp of the event.
|
Modifier and Type | Method and Description |
---|---|
Time |
DEDirector.fireAt(Actor actor,
Time time)
Schedule an actor to be fired at the specified time by posting
a pure event to the director, and return the time at which
the specified actor will be fired.
|
Time |
DEDirector.fireAt(Actor actor,
Time time,
int index)
Request a firing of the given actor at the given model
time with the given microstep.
|
Time |
DEDirector.fireAtCurrentTime(Actor actor)
Fire the actor actor at the current model time or, if synchronizeToRealTime
is enabled and we are past the initialization phase of execution,
then fire the actor at the model time that corresponds to the current
real time.
|
Time |
DEDirector.getModelNextIterationTime()
Return the timestamp of the next event in the queue.
|
Time |
DEDirector.getNextEventTime()
Return the timestamp of the next event in the queue.
|
Time |
DEEvent.timeStamp()
Return the timestamp.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DEDirector._enqueueEvent(Actor actor,
Time time,
int defaultMicrostep)
Put a pure event into the event queue to schedule the given actor to
fire at the specified timestamp.
|
protected boolean |
DEDirector._schedule(NamedObj actor,
Time timestamp)
Schedule an actor for execution on a ExecutionAspect.
|
void |
DEDirector.cancelFireAt(Actor actor,
Time time)
Cancel a requested firing of the given actor at the given model
time microstep 1.
|
void |
DEDirector.cancelFireAt(Actor actor,
Time time,
int index)
Cancel a requested firing of the given actor at the given model
time with the given microstep.
|
Time |
DEDirector.fireAt(Actor actor,
Time time)
Schedule an actor to be fired at the specified time by posting
a pure event to the director, and return the time at which
the specified actor will be fired.
|
Time |
DEDirector.fireAt(Actor actor,
Time time,
int index)
Request a firing of the given actor at the given model
time with the given microstep.
|
void |
DEDirector.fireAtRelativeTime(Actor actor,
Time time)
Schedule an actor to be fired in the specified time relative to
the current model time.
|
Constructor and Description |
---|
DEEvent(Actor actor,
Time timeStamp,
int microstep,
int depth)
Construct a pure event with the specified destination actor,
timestamp, microstep, and depth.
|
DEEvent(IOPort ioPort,
Time timeStamp,
int microstep,
int depth)
Construct a trigger event with the specified destination IO port,
timestamp, microstep, and depth.
|
Modifier and Type | Field and Description |
---|---|
protected Time |
Server._nextTimeFree
Next time the server becomes free.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TimedDelay._fireAt(Time time)
Deprecated.
Request a firing of this actor at the specified time
and throw an exception if the director does not agree to
do it at the requested time.
|
Modifier and Type | Method and Description |
---|---|
Time |
MultirateFSMDirector.fireAt(Actor actor,
Time time)
Override the base class to ignore the fireAt() call if the specified
actor is the controller and the time is the current time.
|
Time |
FSMDirector.fireAt(Actor actor,
Time time,
int microstep)
Schedule a firing of the given actor at the given time
and microstep.
|
Time |
MultirateFSMDirector.fireAtCurrentTime(Actor actor)
Override the base class to ignore the fireAt() call if the specified
actor is the controller.
|
Time |
FSMDirector.getModelNextIterationTime()
Override the base class so that if any outgoing transition has
a guard that evaluates to true, then return the current
time.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
FSMActor._schedule(NamedObj actor,
Time timestamp)
Schedule an actor for execution on a ExecutionAspect.
|
Time |
MultirateFSMDirector.fireAt(Actor actor,
Time time)
Override the base class to ignore the fireAt() call if the specified
actor is the controller and the time is the current time.
|
Time |
FSMDirector.fireAt(Actor actor,
Time time,
int microstep)
Schedule a firing of the given actor at the given time
and microstep.
|
Modifier and Type | Method and Description |
---|---|
Time |
TimedPNDirector.fireAt(Actor actor,
Time newFiringTime,
int microstep)
Suspend the calling process until the time has advanced to at least the
time specified by the method argument.
|
Modifier and Type | Method and Description |
---|---|
Time |
TimedPNDirector.fireAt(Actor actor,
Time newFiringTime,
int microstep)
Suspend the calling process until the time has advanced to at least the
time specified by the method argument.
|
void |
TimedPNDirector.setModelTime(Time newTime)
Set a new value to the current time of the model, where
the new time must be no earlier than the current time.
|
Modifier and Type | Method and Description |
---|---|
Time |
SDFDirector.fireAt(Actor actor,
Time time,
int microstep)
Request a firing of the given actor at the given absolute
time, and return the time at which the specified will be
fired.
|
Time |
SDFDirector.getModelNextIterationTime()
Return the time value of the next iteration.
|
Modifier and Type | Method and Description |
---|---|
Time |
SDFDirector.fireAt(Actor actor,
Time time,
int microstep)
Request a firing of the given actor at the given absolute
time, and return the time at which the specified will be
fired.
|