SoIdleSensor(3)
okay bestie, buckle up π you've landed in the Coin manual, and today's main character is SoIdleSensor β the sensor that literally waits for the vibes to go quiet before it does anything. iconic behavior honestly.
β¨ NAME β¨
SoIdleSensor β bestie, this is the sensor class that will trigger as soon as the application is idle. like, the second everything calms down. no cap.
π¦ SYNOPSIS π¦
#include <Inventor/sensors/SoIdleSensor.h>
Inherits SoDelayQueueSensor. yes she's got ancestors, she's a nepo baby and we love her for it π
π Public Member Functions
SoIdleSensor (void)SoIdleSensor (SoSensorCB *func, void *data)virtual ~SoIdleSensor (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) constvirtual void schedule (void)virtual void unschedule (void)virtual SbBool isScheduled (void) constvirtual 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) constvoid setData (void *callbackdata)void * getData (void) constvoid 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 * funcvoid * funcData
π« Detailed Description π«
So the whole thing about SoIdleSensor is that it's a sensor which will trigger as soon as the application is idle. that's the entire personality. she waits for the room to go quiet and then she speaks. periodt.
okay but here's the tea that actually matters, bestie β an SoIdleSensor differs from an SoOneShotSensor in that it will not trigger if the delay queue processing is occurring due to the delay queue timeout, but only when the application is idle. so like, if the queue is churning because of a timeout? she is NOT getting up for that. she only moves when the app is genuinely, truly idle. highkey a whole different energy from SoOneShotSensor π«Ά
See also: SoDB::setDelaySensorTimeout()
π₯ Constructor & Destructor Documentation π₯
SoIdleSensor::SoIdleSensor (void )
Default constructor. just a lil baby sensor, freshly born, no callback, no data, pure potential β¨
SoIdleSensor::SoIdleSensor (SoSensorCB * func, void * data)
Constructor taking as parameters the sensor callback function and the userdata which will be passed to the callback. so you hand her func and you hand her data, and she'll pass that data right along to your callback when the time comes. she's a courier. she's reliable. she ate π
See also:setFunction(),setData()
SoIdleSensor::~SoIdleSensor (void ) [virtual]
Destructor. she's leaving the group chat. it's virtual, so she bows out gracefully πΈ
π§ Author π§
Generated automatically by Doxygen for Coin from the source code. so like, no human author to thank here, it's giving robot poetry, and honestly? iconic π€
and that's the whole page, bestie π this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β go forth and idle-sense responsibly πβ¨π¦
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms