![]() |
http://www.sim.no http://www.coin3d.org |
The SoOneShotSensor class is a sensor which will trigger once.Since SoOneShotSensor is a subclass of SoDelayQueueSensor, it will trigger as soon as either the run-time system is idle, or if it is continually busy it will trigger within a fixed amount of time (this is by default 1/12th of a second, see SoSensorManager::setDelaySensorTimeout()). More...
#include <Inventor/sensors/SoOneShotSensor.h>
Public Member Functions | |
SoOneShotSensor (void) | |
SoOneShotSensor (SoSensorCB *func, void *data) | |
virtual | ~SoOneShotSensor (void) |
The SoOneShotSensor class is a sensor which will trigger once.
Since SoOneShotSensor is a subclass of SoDelayQueueSensor, it will trigger as soon as either the run-time system is idle, or if it is continually busy it will trigger within a fixed amount of time (this is by default 1/12th of a second, see SoSensorManager::setDelaySensorTimeout()).
SoOneShotSensor::SoOneShotSensor | ( | void | ) |
Constructor.
SoOneShotSensor::SoOneShotSensor | ( | SoSensorCB * | func, |
void * | data | ||
) |
Constructor taking as parameters the sensor callback function and the userdata which will be passed the callback.
SoOneShotSensor::~SoOneShotSensor | ( | void | ) | [virtual] |
Destructor.
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Feb 28 2011 10:12:17 for Coin by Doxygen. 1.7.3