|
http://www.sim.no http://www.coin3d.org |
#include <Inventor/sensors/SoAlarmSensor.h>
Inheritance diagram for SoAlarmSensor:

SoAlarmSensor provides a convenient way of setting up triggers for jobs which should be executed only once when they are scheduled.
Public Member Functions | |
| SoAlarmSensor (void) | |
| SoAlarmSensor (SoSensorCB *func, void *data) | |
| virtual | ~SoAlarmSensor (void) |
| void | setTime (const SbTime &abstime) |
| void | setTimeFromNow (const SbTime &reltime) |
| const SbTime & | getTime (void) const |
| virtual void | schedule (void) |
| SoAlarmSensor::SoAlarmSensor | ( | void | ) |
Default constructor.
| SoAlarmSensor::SoAlarmSensor | ( | SoSensorCB * | func, | |
| void * | data | |||
| ) |
Constructor taking as parameters the sensor callback function and the userdata which will be passed the callback.
| SoAlarmSensor::~SoAlarmSensor | ( | void | ) | [virtual] |
Destructor.
| void SoAlarmSensor::setTime | ( | const SbTime & | abstime | ) |
Set the time at which the sensor will trigger.
Note that you must manually schedule() the sensor after calling this method.
| void SoAlarmSensor::setTimeFromNow | ( | const SbTime & | reltime | ) |
Set the alarm to be at a specified offset from the current time.
Note that you must manually schedule() the sensor after calling this method.
| const SbTime & SoAlarmSensor::getTime | ( | void | ) | const |
Returns the trigger time for the alarm as an absolute value from 1970-01-01 00:00:00.
| void SoAlarmSensor::schedule | ( | void | ) | [virtual] |
Put the sensor in the global timer queue.
Reimplemented from SoTimerQueueSensor.
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Oct 3 01:27:46 2007 for Coin by Doxygen. 1.5.2