50#ifndef _SO_IDLE_SENSOR_
51#define _SO_IDLE_SENSOR_
53#include <Inventor/sensors/SoDelayQueueSensor.h>
104 virtual SbBool isIdleOnly()
const;
Abstract base class for sensors not dependent on time.
Sensor for one-time only callbacks when the application is idle.
SoIdleSensor(SoSensorCB *func, void *data)
Constructor that takes the callback function and data to be called when the sensor is triggered.
SoIdleSensor()
Default constructor.
virtual ~SoIdleSensor()
Destroys the sensor, freeing up any memory associated with it after unscheduling it.
void SoSensorCB(void *data, SoSensor *sensor)
This typedef defines the calling sequence for all callbacks from sensors.