ptolemy.domains.ptera.kernel
Class Event.RefiringData

java.lang.Object
  extended by ptolemy.domains.ptera.kernel.Event.RefiringData
Direct Known Subclasses:
ReceiveInput.InputListener
Enclosing class:
Event

public static class Event.RefiringData
extends java.lang.Object

A data structure to store the model time advance for the refire() method to be called. This data structure is returned by fire() and refire().

Since:
Ptolemy II 8.0
Version:
$Id: Event.java 57044 2010-01-27 22:41:05Z cxh $
Author:
Thomas Huining Feng
Accepted Rating:
Red (tfeng)
Proposed Rating:
Yellow (tfeng)

Field Summary
private  double _timeAdvance
          The time advance.
 
Constructor Summary
Event.RefiringData(double timeAdvance)
          Construct a refiring data structure.
 
Method Summary
 double getTimeAdvance()
          Return the time advance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_timeAdvance

private double _timeAdvance
The time advance.

Constructor Detail

Event.RefiringData

public Event.RefiringData(double timeAdvance)
Construct a refiring data structure.

Parameters:
timeAdvance - The time advance for the next refire() call.
Method Detail

getTimeAdvance

public double getTimeAdvance()
Return the time advance.

Returns:
The time advance.