Package org.xj3d.core.eventmodel
Interface TimeSensorManager
- All Superinterfaces:
VRMLClock
- All Known Implementing Classes:
RealTimeSensorManager
,VirtualTimeSensorManager
Defines the requirements of the time sensor manager
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Force clearing all state from this manager now.void
clockTick
(long time) Process the event that builds the current time.void
setErrorReporter
(org.j3d.util.ErrorReporter reporter) Register an error reporter with the engine so that any errors generated by the loading of script code can be reported in a nice, pretty fashion.Methods inherited from interface org.web3d.vrml.nodes.VRMLClock
addTimeListener, getTime, getWallTime, removeTimeListener, resetTimeZero
-
Method Details
-
setErrorReporter
void setErrorReporter(org.j3d.util.ErrorReporter reporter) Register an error reporter with the engine so that any errors generated by the loading of script code can be reported in a nice, pretty fashion. Setting a value of null will clear the currently set reporter. If one is already set, the new value replaces the old.- Parameters:
reporter
- The instance to use or null
-
clockTick
void clockTick(long time) Process the event that builds the current time.- Parameters:
time
- The current clock cycle time in milliseconds
-
clear
void clear()Force clearing all state from this manager now. This is used to indicate that a new world is about to be loaded and everything should be cleaned out now.
-