SoOneShotSensor(3)
π SoOneShotSensor(3) π
okay bestie, welcome to the Library Functions Manual page for SoOneShotSensor, and no bc this one is genuinely iconic β it's the sensor that fires once and then dips. one and done. main character behaviour fr fr.
β¨ NAME β¨
SoOneShotSensor β the SoOneShotSensor class is a sensor which will trigger once. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
#include <Inventor/sensors/SoOneShotSensor.h>
Inherits SoDelayQueueSensor.
πΈ Public Member Functions πΈ
SoOneShotSensor (void)
SoOneShotSensor (SoSensorCB *func, void *data)
virtual ~SoOneShotSensor (void)
π
Public Member Functions inherited from SoDelayQueueSensor
SoDelayQueueSensor (void)
SoDelayQueueSensor (SoSensorCB *func, void *data)
virtual ~SoDelayQueueSensor (void)
void setPriority (uint32_t pri)
uint32_t getPriority (void) const
virtual void schedule (void)
virtual void unschedule (void)
virtual SbBool isScheduled (void) const
virtual SbBool isIdleOnly (void) const
virtual void trigger (void)
π Public Member Functions inherited from SoSensor
SoSensor (void)
SoSensor (SoSensorCB *func, void *data)
virtual ~SoSensor (void)
void setFunction (SoSensorCB *callbackfunction)
SoSensorCBPtr getFunction (void) const
void setData (void *callbackdata)
void * getData (void) const
void setNextInQueue (SoSensor *next)
SoSensor * getNextInQueue (void) const
π«Ά Additional Inherited Members π«Ά
β Static Public Member Functions inherited from SoDelayQueueSensor
static uint32_t getDefaultPriority (void)
β Static Public Member Functions inherited from SoSensor
static void initClass (void)
π Protected Attributes inherited from SoDelayQueueSensor
SbBool scheduled
π Protected Attributes inherited from SoSensor
SoSensorCB * func
void * funcData
π 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, like a little overworked queen π β it will trigger within a fixed amount of time. that fixed amount is by default 1/12th of a second, and you can peep SoSensorManager::setDelaySensorTimeout() if you wanna mess with it.
lowkey the whole point: it's patient when things are chill, and it's still gonna fire even when everything's chaotic. dependable. we stan. π
π§ Constructor & Destructor Documentation π§
π SoOneShotSensor::SoOneShotSensor (void )
Constructor. that's it, that's the whole sentence, she's simple and she's stunning π
π 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()
References SoSensor::func.
π SoOneShotSensor::~SoOneShotSensor (void ) [virtual]
Destructor. bye bestie, thanks for firing once π¦
π Author π
Generated automatically by Doxygen for Coin from the source code. not a human, just a robot doing its little robot thing, and honestly? slay. π€β¨
and that's the page!! Coin, Version 2.5.0, SoOneShotSensor(3) β written with love, delivered with flair, periodt. ππΈπ
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms