Package org.lemsml.jlems.core.run
Class PendingEvent
- java.lang.Object
-
- org.lemsml.jlems.core.run.PendingEvent
-
public class PendingEvent extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) InPortReceiverport(package private) doubletime
-
Constructor Summary
Constructors Constructor Description PendingEvent(InPortReceiver ip, double t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanafter(PendingEvent pe)booleanbefore(PendingEvent pe)booleanbeforeOrEqual(double t)voiddeliver()doublegetTime()
-
-
-
Field Detail
-
port
InPortReceiver port
-
time
double time
-
-
Constructor Detail
-
PendingEvent
public PendingEvent(InPortReceiver ip, double t)
-
-
Method Detail
-
beforeOrEqual
public boolean beforeOrEqual(double t)
-
before
public boolean before(PendingEvent pe)
-
after
public boolean after(PendingEvent pe)
-
deliver
public void deliver() throws RuntimeError- Throws:
RuntimeError
-
getTime
public double getTime()
-
-