SoIdleSensor(3)
β¨ SoIdleSensor β¨
okay bestie, welcome to the SoIdleSensor(3) page π this is a Library Functions Manual moment, and yes we're about to make sensors feel cute. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
SoIdleSensor β the sensor class that triggers the second your app goes idle. like, the moment there's nothing left to do, she's up and at it π
π SYNOPSIS π
#include <Inventor/sensors/SoIdleSensor.h>
Inherits SoDelayQueueSensor. yes, she's part of a whole lineage, main character energy runs in the family π
π« 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 π
The SoIdleSensor class is a sensor which will trigger as soon as the application is idle. literally the second your app has nothing better to do, she shows up πΈ
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 β only when the application is idle. so no, she's not gonna fire just because the delay queue ran out of patience, she waits for true idle. that's the whole vibe check, no cap π§
See also
SoDB::setDelaySensorTimeout()
π Constructor & Destructor Documentation π
SoIdleSensor::SoIdleSensor (void )
Default constructor. the classic, no-arguments, just-vibes option π
SoIdleSensor::SoIdleSensor (SoSensorCB * func, void * data)
Constructor taking as parameters the sensor callback function and the userdata which will be passed the callback. so you hand her a function and some data, and she'll pass that data along when she fires, iconic behavior fr fr β¨
See also
setFunction(),setData()
SoIdleSensor::~SoIdleSensor (void ) [virtual]
Destructor. she says bye π and cleans up after herself, as she should.
π Author π
Generated automatically by Doxygen for Coin from the source code. not a human author moment, just the machine doing its thing π€π
and that's the whole page, bestie!! this was Coin, Version 3.1.3 β thanks for reading all the way to the bottom, you're literally the best π«Άβ¨π
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.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