|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITimedEvent
TimedEvent is any event that will occur after X amount of model time. The TimedEvents are queued up on the TimedEventQueue which is processed for each cycle of the model run.
| Method Summary | |
|---|---|
void |
abort()
called when the event is to be aborted. |
void |
fire(double currentTime)
called when this event should be fired.. |
double |
getEndTime()
When the event should be fired. |
double |
getStartTime()
when the TimedEvent was posted in simulated time. |
boolean |
hasAborted()
has this been aborted? aborted events will not be fired |
boolean |
hasFired()
|
| Method Detail |
|---|
double getStartTime()
double getEndTime()
void fire(double currentTime)
void abort()
boolean hasAborted()
boolean hasFired()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||