public class Scheduler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Scheduler.Action |
Modifier and Type | Field and Description |
---|---|
static boolean |
useNewAdvance |
Modifier and Type | Method and Description |
---|---|
void |
addListener(SchedulerListener l) |
void |
dispose() |
boolean |
fastForward()
Moves to the next waypoint, if available.
|
java.lang.Exception |
getLastException() |
boolean |
getRealTimeAdvance() |
double |
getRealTimeScaling() |
RenderProbe |
getRenderProbe() |
java.lang.Thread |
getThread() |
double |
getTime() |
void |
initialize() |
void |
invalidateInitialState() |
boolean |
isPlaying() |
double |
nextEvent(RootModel root,
java.util.ArrayList<Probe> probeList,
double t0,
double endTime) |
void |
pause() |
void |
play() |
void |
play(double time) |
void |
playRequest(double endTime) |
boolean |
removeListener(SchedulerListener l) |
boolean |
requestAction(java.lang.Runnable action) |
void |
reset() |
void |
reset(WayPoint way) |
boolean |
rewind()
Moves to the previous waypoint, if available.
|
void |
setRealTimeAdvance(boolean enable) |
void |
setRealTimeScaling(double s) |
void |
setRenderProbe(RenderProbe probe) |
void |
setSleepProbe(SleepProbe probe) |
void |
setTime(double time) |
void |
setTime(WayPoint way) |
void |
step() |
void |
stopRequest() |
boolean |
stopRequestPending() |
void |
waitForPlayingToStop() |
public Scheduler(Main main)
public void addListener(SchedulerListener l)
public boolean removeListener(SchedulerListener l)
public void setRenderProbe(RenderProbe probe)
public RenderProbe getRenderProbe()
public void setSleepProbe(SleepProbe probe)
public boolean getRealTimeAdvance()
public void setRealTimeAdvance(boolean enable)
public void setRealTimeScaling(double s)
public double getRealTimeScaling()
public void initialize()
public void waitForPlayingToStop()
public boolean stopRequestPending()
public void setTime(double time)
public void setTime(WayPoint way)
public void reset()
public void reset(WayPoint way)
public double getTime()
public boolean rewind()
public boolean fastForward()
public void stopRequest()
public void play()
public void play(double time)
public void pause()
public void step()
public void playRequest(double endTime)
public boolean requestAction(java.lang.Runnable action)
public boolean isPlaying()
public java.lang.Exception getLastException()
public java.lang.Thread getThread()
public void invalidateInitialState()
public double nextEvent(RootModel root, java.util.ArrayList<Probe> probeList, double t0, double endTime)
public void dispose()