![]() |
Coin
4.0.3
Coin3D core library
|
The SoIdleSensor class is a sensor which will trigger as soon as the application is idle. More...
#include <Inventor/sensors/SoIdleSensor.h>
Public Member Functions | |
SoIdleSensor (SoSensorCB *func, void *data) | |
SoIdleSensor (void) | |
virtual | ~SoIdleSensor (void) |
![]() | |
SoDelayQueueSensor (SoSensorCB *func, void *data) | |
SoDelayQueueSensor (void) | |
virtual | ~SoDelayQueueSensor (void) |
uint32_t | getPriority (void) const |
virtual SbBool | isScheduled (void) const |
virtual void | schedule (void) |
void | setPriority (uint32_t pri) |
virtual void | trigger (void) |
virtual void | unschedule (void) |
![]() | |
SoSensor (SoSensorCB *func, void *data) | |
SoSensor (void) | |
virtual | ~SoSensor (void) |
void * | getData (void) const |
SoSensorCBPtr | getFunction (void) const |
SoSensor * | getNextInQueue (void) const |
void | setData (void *callbackdata) |
void | setFunction (SoSensorCB *callbackfunction) |
void | setNextInQueue (SoSensor *next) |
Additional Inherited Members | |
![]() | |
static uint32_t | getDefaultPriority (void) |
![]() | |
static void | initClass (void) |
![]() | |
SbBool | scheduled |
![]() | |
SoSensorCB * | func |
void * | funcData |
The SoIdleSensor class is a sensor which will trigger as soon as the application is idle.
An SoIdleSensor differs from an SoOneShotSensor in that it will not trigger if the delay queue processing is occurring due to the delay queue timeout, but only when the application is idle.
SoIdleSensor::SoIdleSensor | ( | void | ) |
Default constructor.
SoIdleSensor::SoIdleSensor | ( | SoSensorCB * | func, |
void * | data ) |
Constructor taking as parameters the sensor callback function and the userdata which will be passed to the callback.
|
virtual |
Destructor.