Abstract base class for sensors dependent on time.
More...
#include <Inventor/sensors/SoTimerQueueSensor.h>
|
void | setTriggerTime (const SbTime &time) |
| Used by subclasses to set the time at which the sensor is to be triggered. More...
|
|
virtual void | trigger () |
| Triggers the sensor, calling its callback function. More...
|
|
Timer queue sensors are sensors that trigger themselves at specific times. The timer queue is normally processed as part of a programs main loop when the program is not busy doing something else. Note that processing the timer queue is not asynchronous em 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.
- See Also
- SoTimerSensor, SoAlarmSensor, SoIdleSensor, SoOneShotSensor, SoDataSensor
Definition at line 85 of file SoTimerQueueSensor.h.
◆ SoTimerQueueSensor() [1/2]
SoTimerQueueSensor::SoTimerQueueSensor |
( |
| ) |
|
◆ SoTimerQueueSensor() [2/2]
SoTimerQueueSensor::SoTimerQueueSensor |
( |
SoSensorCB * |
func, |
|
|
void * |
data |
|
) |
| |
◆ ~SoTimerQueueSensor()
virtual SoTimerQueueSensor::~SoTimerQueueSensor |
( |
| ) |
|
|
virtual |
◆ getTriggerTime()
const SbTime& SoTimerQueueSensor::getTriggerTime |
( |
| ) |
const |
|
inline |
◆ isScheduled()
virtual bool SoTimerQueueSensor::isScheduled |
( |
| ) |
const |
|
virtual |
◆ schedule()
virtual void SoTimerQueueSensor::schedule |
( |
| ) |
|
|
virtual |
◆ setTriggerTime()
void SoTimerQueueSensor::setTriggerTime |
( |
const SbTime & |
time | ) |
|
|
protected |
◆ trigger()
virtual void SoTimerQueueSensor::trigger |
( |
| ) |
|
|
protectedvirtual |
This overrides the method in SoSensor because it has to reset the schedule flag before triggering.
Reimplemented from SoSensor.
◆ unschedule()
virtual void SoTimerQueueSensor::unschedule |
( |
| ) |
|
|
virtual |
◆ scheduled
bool SoTimerQueueSensor::scheduled |
|
protected |
The documentation for this class was generated from the following file:
- /home/jenkins/workspaces/mevislab/4.1_0/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/sensors/SoTimerQueueSensor.h