org.xith3d.loop.opscheduler.impl
Class DummyOperationSchedulerImpl

java.lang.Object
  extended by org.xith3d.loop.UpdatingThread
      extended by org.xith3d.loop.opscheduler.impl.OperationSchedulerImpl
          extended by org.xith3d.loop.opscheduler.impl.DummyOperationSchedulerImpl
All Implemented Interfaces:
java.lang.Runnable, GameTimeHost, Animator, OperationScheduler, Updatable, Updater

public class DummyOperationSchedulerImpl
extends OperationSchedulerImpl

This is a dummy OperationScheduler implementation. It directly invokes the update() method from the scheduleOperation() method.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.xith3d.loop.UpdatingThread
UpdatingThread.TimingMode
 
Field Summary
 
Fields inherited from class org.xith3d.loop.UpdatingThread
PAUSE_NONE, PAUSE_TOTAL
 
Constructor Summary
DummyOperationSchedulerImpl()
           
 
Method Summary
 void scheduleOperation(ScheduledOperation schedOp)
          Adds a ScheduledOperation to the queue.
 
Methods inherited from class org.xith3d.loop.opscheduler.impl.OperationSchedulerImpl
addAnimatableObject, addAnimatableObject, addAnimatableObject, addInterval, addIntervalListener, addUpdatable, callIntervalListeners, getNumberOfIntevals, getNumberOfSchedOps, removeAllIntervals, removeAnimatableObject, removeIntervalListener, removeUpdatable, unscheduleOperation, update, update, update
 
Methods inherited from class org.xith3d.loop.UpdatingThread
begin, end, getFPSLimiter, getGameMicroTime, getGameMilliTime, getGameNanoTime, getGameTime, getIterationsCount, getLastFrameTime, getLastNanoFrameTime, getMinIterationTime, getPauseMode, getThread, getTimer, getTimingMode, isRunning, isStopping, loop, nextIteration, run, setFPSLimiter, setMinIterationTime, setPauseMode, setTimer, setTimingMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyOperationSchedulerImpl

public DummyOperationSchedulerImpl()
Method Detail

scheduleOperation

public void scheduleOperation(ScheduledOperation schedOp)
Description copied from class: OperationSchedulerImpl
Adds a ScheduledOperation to the queue. The loop works off the queue each iteration.

Specified by:
scheduleOperation in interface OperationScheduler
Overrides:
scheduleOperation in class OperationSchedulerImpl
Parameters:
schedOp - the Operation to schedule