SoOneShotSensor.3coin3 man page

SoOneShotSensor — 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()).

Synopsis

#include <Inventor/sensors/SoOneShotSensor.h>

Inherits SoDelayQueueSensor.

Public Member Functions

SoOneShotSensor (void)

SoOneShotSensor (SoSensorCB *func, void *data)

virtual ~SoOneShotSensor (void)

Additional Inherited Members

Detailed Description

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()).

Constructor & Destructor Documentation

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.

See also:

setFunction(), setData()

SoOneShotSensor::~SoOneShotSensor (void) [virtual]

Destructor.

Author

Generated automatically by Doxygen for Coin from the source code.

Referenced By

SoOneShotSensor.3coin2(3) is an alias of SoOneShotSensor.3coin3(3).

Mon Sep 5 2016 Version 3.1.3 Coin