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) InPortReceiver
port
(package private) double
time
-
Constructor Summary
Constructors Constructor Description PendingEvent(InPortReceiver ip, double t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
after(PendingEvent pe)
boolean
before(PendingEvent pe)
boolean
beforeOrEqual(double t)
void
deliver()
double
getTime()
-
-
-
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()
-
-