|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.queue.timedevents.AbstractTimedEvent
public class AbstractTimedEvent
Description of the Class
| Constructor Summary | |
|---|---|
AbstractTimedEvent()
|
|
AbstractTimedEvent(double start,
double end)
|
|
| 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()
|
void |
setTimes(double start,
double end)
Sets the times attribute of the AbstractTimedEvent object |
java.lang.String |
toString()
Description of the Method |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTimedEvent()
public AbstractTimedEvent(double start,
double end)
| Method Detail |
|---|
public void setTimes(double start,
double end)
start - The new times valueend - The new times valuepublic double getStartTime()
getStartTime in interface ITimedEventpublic double getEndTime()
getEndTime in interface ITimedEventpublic void fire(double currentTime)
fire in interface ITimedEventcurrentTime - Description of the Parameterpublic boolean hasFired()
hasFired in interface ITimedEventpublic void abort()
abort in interface ITimedEventpublic boolean hasAborted()
ITimedEvent
hasAborted in interface ITimedEventpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||