52#ifndef _SO_DELAY_QUEUE_SENSOR_
53#define _SO_DELAY_QUEUE_SENSOR_
62#include <Inventor/sensors/SoSensor.h>
120#ifndef HIDDEN_FROM_DOC
169 void setCounter(uint32_t c) { counter = c; }
170 uint32_t getCounter()
const {
return counter; }
171 void setPreserveOrder(
bool preserveOrder);
177 typedef SbBool (*OrderingFunction)(uint32_t, uint32_t);
178 OrderingFunction m_orderingFn;
183 static SbBool strictOrder(uint32_t p1, uint32_t p2);
184 static SbBool looseOrder(uint32_t p1, uint32_t p2);
Abstract base class for sensors not dependent on time.
SoDelayQueueSensor()
Constructor.
virtual void schedule()
If this sensor's priority is non-zero, adds this sensor to the list of delay queue sensors ready to b...
uint32_t getPriority() const
Gets the priority of the sensor.
static uint32_t getDefaultPriority()
Returns the default delay queue sensor priority, which is 100.
virtual SbBool isIdleOnly() const
void setPriority(uint32_t pri)
Sets the priority of the sensor.
virtual void unschedule()
If this sensor is scheduled, removes it from the delay queue so that it will not be triggered.
SoDelayQueueSensor(SoSensorCB *func, void *data)
Constructor that takes standard callback and data.
Abstract base class for Open Inventor sensors.
void SoSensorCB(void *data, SoSensor *sensor)
This typedef defines the calling sequence for all callbacks from sensors.