![]() |
Coin3D is Free Software, published under the BSD 3-clause license. |
https://bitbucket.org/Coin3D/ http://www.kongsberg.com/kogt/ |
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. More...
#include <Inventor/sensors/SoIdleSensor.h>
Public Member Functions | |
SoIdleSensor (void) | |
SoIdleSensor (SoSensorCB *func, void *data) | |
virtual | ~SoIdleSensor (void) |
![]() | |
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 void | trigger (void) |
![]() | |
SoSensor (void) | |
SoSensor (SoSensorCB *func, void *data) | |
virtual | ~SoSensor (void) |
void | setFunction (SoSensorCB *callbackfunction) |
SoSensorCBPtr | getFunction (void) const |
void | setData (void *callbackdata) |
void * | getData (void) const |
void | setNextInQueue (SoSensor *next) |
SoSensor * | getNextInQueue (void) const |
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 the callback.
|
virtual |
Destructor.