SoSystemTimer Class |
Common interface to expose system dependent timers.
Namespace: OIV.Inventor.Sensors
The SoSystemTimer type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsPending | Return true if the timer is running. | |
SetDelay | Set the timer's timeout in milliseconds. | |
SetRepeat | If set to true, the timer will be triggered periodically at the rate defined by setDelay. | |
SetTask | Sets the task executed when the timer is triggered. | |
Start | Start the timer. | |
Stop | Stop the timer. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IsDisposable | ISafeDisposable interface implementation.
(Inherited from SoDisposable.) |
The timer implementation usually depends on the window toolkit used (Qt, Awt, Swt...). The purpose of this class is to expose a common interface for system dependent timers. When the timer is triggered, it must call the run() method of its OIV.Inventor.Sensors.SoSystemTimerTask (given by the setTask method).