#include <Inventor/sensors/SoDelayQueueSensor.h>
Inheritance diagram for SoDelayQueueSensor::
Public Methods | |
SoDelayQueueSensor (void) | |
SoDelayQueueSensor (SoSensorCB *func, void *data) | |
virtual | ~SoDelayQueueSensor (void) |
void | setPriority (uint32_t pri) |
uint32_t | getPriority (void) const |
virtual void | schedule (void) |
virtual void | unschedule (void) |
virtual SbBool | isScheduled (void) const |
virtual SbBool | isIdleOnly (void) const |
virtual void | trigger (void) |
Static Public Methods | |
uint32_t | getDefaultPriority (void) |
Protected Attributes | |
SbBool | scheduled |
Delay queue sensors are invoked upon various events not related to time occurs. See documentation of subclasses to see which types of events can be surveilled by the builtin sensor types.
The priority values can be used to queue events by their importance, so the sensors are triggered in the sequence you want.
|
Default constructor. |
|
Constructor taking as arguments the sensor callback function and the userdata which will be passed the callback.
|
|
Destructor. |
|
Set this sensor's priority in the scheduling queue.
|
|
Returns sensor scheduling priority.
|
|
Returns the default scheduling priority value.
|
|
Put the sensor in the global delay queue. This means it will be triggered either when the CPU is idle, or when the specified delay queue time-out is reached.
Reimplemented from SoSensor. |
|
Remove sensor from the delay queue, without triggering it first.
Reimplemented from SoSensor. |
|
Check if this sensor is scheduled for triggering.
Reimplemented from SoSensor. |
|
Returns a flag indicating whether or not the sensor should only be triggered if the application is truly idle, and not when the delay queue is processed because of the delay queue timeout.
|
|
Overloaded to clear scheduled flag before triggering. Reimplemented from SoSensor. Reimplemented in SoDataSensor, and SoFieldSensor. |
|
|