.TH "SoOneShotSensor" 3 "Thu May 29 2014" "Version 4.0.0a" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoOneShotSensor \- .PP The \fBSoOneShotSensor\fP class is a sensor which will trigger once\&. .PP Since \fBSoOneShotSensor\fP is a subclass of \fBSoDelayQueueSensor\fP, 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 \fBSoSensorManager::setDelaySensorTimeout()\fP)\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBSoDelayQueueSensor\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSoOneShotSensor\fP (void)" .br .ti -1c .RI "\fBSoOneShotSensor\fP (\fBSoSensorCB\fP *\fBfunc\fP, void *data)" .br .ti -1c .RI "virtual \fB~SoOneShotSensor\fP (void)" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBSoOneShotSensor\fP class is a sensor which will trigger once\&. .PP Since \fBSoOneShotSensor\fP is a subclass of \fBSoDelayQueueSensor\fP, 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 \fBSoSensorManager::setDelaySensorTimeout()\fP)\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoOneShotSensor::SoOneShotSensor (void)" Constructor\&. .SS "SoOneShotSensor::SoOneShotSensor (\fBSoSensorCB\fP *func, void *data)" Constructor taking as parameters the sensor callback function and the userdata which will be passed the callback\&. .PP \fBSee also:\fP .RS 4 \fBsetFunction()\fP, \fBsetData()\fP .RE .PP .SS "SoOneShotSensor::~SoOneShotSensor (void)\fC [virtual]\fP" Destructor\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.