#include <Inventor/sensors/SoTimerQueueSensor.h>
Inheritance diagram for SoTimerQueueSensor::
Public Methods | |
SoTimerQueueSensor (void) | |
SoTimerQueueSensor (SoSensorCB *func, void *data) | |
virtual | ~SoTimerQueueSensor (void) |
const SbTime & | getTriggerTime (void) const |
virtual void | schedule (void) |
virtual void | unschedule (void) |
virtual SbBool | isScheduled (void) const |
virtual void | trigger (void) |
Protected Methods | |
void | setTriggerTime (const SbTime &time) |
Protected Attributes | |
SbBool | scheduled |
Timer sensors triggers upon specific points in time. If a timer sensor can not trigger at the exact moment it has been scheduled (due to other activity in Coin, a task suspended or heavy load from other applications on the system), it will be triggered at the first opportunity after the scheduled time has passed.
See the documentation of the subclasses for information on what ways there are to specify times, intervals, etc.
|
Default constructor. |
|
Constructor taking as arguments the sensor callback function and the userdata which will be passed the callback.
|
|
Destructor. |
|
Returns the time at which the sensor will trigger.
|
|
Put the sensor in the global timer queue.
Reimplemented from SoSensor. Reimplemented in SoTimerSensor, and SoAlarmSensor. |
|
Remove sensor from the timer queue, without triggering it first.
Reimplemented from SoSensor. Reimplemented in SoTimerSensor. |
|
Check if this sensor is scheduled for triggering.
Reimplemented from SoSensor. |
|
Overloaded to clear scheduled flag before triggering. Reimplemented from SoSensor. |
|
Set absolute time at which to trigger sensor.
|
|
|