SoTimerQueueSensor Class |
Abstract base class for sensors dependent on time.
Namespace: OIV.Inventor.Sensors
The SoTimerQueueSensor type exposes the following members.
Name | Description | |
---|---|---|
SoTimerQueueSensor | Constructor. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetTriggerTime | Returns the time at which this sensor is scheduled to be triggered. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsScheduled | Returns true if this sensor has been scheduled and is waiting in a sensor queue to be triggered. | |
Schedule | (Inherited from SoSensor.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Unschedule | (Inherited from SoSensor.) |
Timer queue sensors are sensors that trigger themselves at specific times. The timer queue is normally processed as part of a program's main loop when the program is not busy doing something else. Note that processing the timer queue is not asynchronous - the program must re-enter its main loop for timers to be triggered. When the timer queue is processed, all timers scheduled to go off at or before the current time are triggered once, in order from earliest to latest.