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