Class SoSystemTimerTask
- java.lang.Object
- 
- com.openinventor.inventor.Inventor
- 
- com.openinventor.inventor.sensors.SoSystemTimerTask
 
 
- 
- All Implemented Interfaces:
- SafeDisposable
 
 public class SoSystemTimerTask extends Inventor implements SafeDisposable Interface used bySoSystemTimerto execute a task. This object is used bySoSystemTimerto execute a custom action when the timer is triggeredSoSensorHandler, SoSystemTimer
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.openinventor.inventor.InventorInventor.ConstructorCommand
 
- 
 - 
Field Summary- 
Fields inherited from class com.openinventor.inventor.InventorVERBOSE_LEVEL, ZeroHandle
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandispose()Explicitly call this method to force object to dispose its unmanaged resources.booleanisDisposable()Returns a boolean flag which indicates if it is safe to callSafeDisposable.dispose()on the object.voidrun()This method is executed bySoSystemTimerwhen it is triggered .- 
Methods inherited from class com.openinventor.inventor.InventorgetNativeResourceHandle
 
- 
 
- 
- 
- 
Method Detail- 
isDisposablepublic boolean isDisposable() Description copied from interface:SafeDisposableReturns a boolean flag which indicates if it is safe to callSafeDisposable.dispose()on the object.- Specified by:
- isDisposablein interface- SafeDisposable
- Returns:
- trueif the object can be disposed in a safe manner
 
 - 
disposepublic boolean dispose() Description copied from class:InventorExplicitly call this method to force object to dispose its unmanaged resources. The object may not be reused in the application code after this call.- Specified by:
- disposein interface- SafeDisposable
- Overrides:
- disposein class- Inventor
- Returns:
- trueif this object native resources were successfully disposed;- falseif it was already disposed or no native resources has been registered for this object.
 
 - 
runpublic void run() This method is executed bySoSystemTimerwhen it is triggered .
 
- 
 
-