SOTIMERQUEUESENSOR(3iv)
π NAME π
SoTimerQueueSensor β it's an abstract base class for sensors dependent on time. And yes bestie, you're reading the SoTimerQueueSensor(3IV) manual page, no cap. π°οΈβ¨
π INHERITS FROM π
SoSensor > SoTimerQueueSensor β the family tree is giving legacy, honestly. π
β¨ SYNOPSIS β¨
#include <Inventor/sensors/SoTimerQueueSensor.h>
Methods from class SoTimerQueueSensor:
const SbTime & getTriggerTime()
virtual void schedule()
virtual void unschedule()
virtual SbBool isScheduled()
Methods from class SoSensor:
void setFunction(SoSensorCB *callbackFunction)
SoSensorCB * getFunction() const
void setData(void *callbackData)
void * getData() const
That's the whole vibe right there. π
π DESCRIPTION π
Timer queue sensors are sensors that trigger themselves at specific times. The timer queue is normally processed as part of a program's main loop when the program is not busy doing something else. Note that processing the timer queue is not asynchronous β the program must re-enter its main loop for timers to be triggered. When the timer queue is processed, all timers scheduled to go off at or before the current time are triggered once, in order from earliest to latest. It's giving very "wait your turn, bestie" energy. π«Ά
Lowkey important: not async. If you're out here thinking timers just fire in the background, that's not the vibe. The program has to loop back around. π
π οΈ METHODS π οΈ
const SbTime & getTriggerTime()β returns the time at which this sensor is scheduled to be triggered. If the sensor is not scheduled, the results are undefined, so don't even play with that, fr fr. π«£virtual void schedule()β adds this sensor to the timer queue. Subclasses provide methods for setting when the sensor will be triggered. β¨virtual void unschedule()β if this sensor is scheduled, removes it from the timer queue so that it will not be triggered. Bye bestie, you're off the list. πvirtual SbBool isScheduled()β returnsTRUEif this sensor has been scheduled and is waiting in the timer queue to be triggered. It's literally checking if you're still in line. π
π SEE ALSO π
SoTimerSensorSoAlarmSensorSoIdleSensorSoOneShotSensorSoDataSensor
Go read those too, they're all part of the squad. πΈ
Okay that's the whole page, bestie. This was SoTimerQueueSensor(3IV) β that's the manual name, and the footer said SoTimerQueueSensor(3IV)() so you know the source/version vibe. No date on this one, just the title and the tea. Stay scheduled, stay iconic. ππβ¨
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms