66#ifndef _SO_TIMER_SENSOR_
67#define _SO_TIMER_SENSOR_
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
void SoSensorCB(void *data, SoSensor *sensor)
This typedef defines the calling sequence for all callbacks from sensors.
Class for representation of a time.
Abstract base class for sensors dependent on time.
virtual void trigger()
Triggers the sensor, calling its callback function.
Sensor that triggers callback repeatedly at regular intervals.
void reschedule(const SbTime &)
Reschedule this timer relative to the given time.
void setBaseTime(const SbTime &base)
Sets the base time.
virtual void schedule()
Overrides the regular schedule() method because we have to set up the trigger time first.
const SbTime & getBaseTime() const
Get the base time.
virtual void unschedule()
Overrides the regular unschedule() because the timer could be in either the timer queue or the waitin...
virtual ~SoTimerSensor()
Destroys the sensor, freeing up any memory associated with it after unscheduling it.
SoTimerSensor(SoSensorCB *func, void *data)
Creation methods.
void setInterval(const SbTime &intvl)
Get the interval.
const SbTime & getInterval() const
Get the interval.
SoTimerSensor()
Creation methods.