Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sooneshotsensor(3) [debian man page]

SoOneShotSensor(3)						       Coin							SoOneShotSensor(3)

NAME
SoOneShotSensor - The SoOneShotSensor class is a sensor which will trigger once. Since SoOneShotSensor is a subclass of SoDelayQueueSensor, it will trigger as soon as either the run-time system is idle, or if it is continually busy it will trigger within a fixed amount of time (this is by default 1/12th of a second, see SoSensorManager::setDelaySensorTimeout()). SYNOPSIS
#include <Inventor/sensors/SoOneShotSensor.h> Inherits SoDelayQueueSensor. Public Member Functions SoOneShotSensor (void) SoOneShotSensor (SoSensorCB *func, void *data) virtual ~SoOneShotSensor (void) Additional Inherited Members Detailed Description The SoOneShotSensor class is a sensor which will trigger once. Since SoOneShotSensor is a subclass of SoDelayQueueSensor, it will trigger as soon as either the run-time system is idle, or if it is continually busy it will trigger within a fixed amount of time (this is by default 1/12th of a second, see SoSensorManager::setDelaySensorTimeout()). Constructor &; Destructor Documentation SoOneShotSensor::SoOneShotSensor (void) Constructor. SoOneShotSensor::SoOneShotSensor (SoSensorCB *func, void *data) Constructor taking as parameters the sensor callback function and the userdata which will be passed the callback. See also: setFunction(), setData() SoOneShotSensor::~SoOneShotSensor (void) [virtual] Destructor. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoOneShotSensor(3)

Check Out this Related Man Page

SoAlarmSensor(3)						       Coin							  SoAlarmSensor(3)

NAME
SoAlarmSensor - The SoAlarmSensor class is a sensor which will trigger once at a specified time. SoAlarmSensor provides a convenient way of setting up triggers for jobs which should be executed only once when they are scheduled. SYNOPSIS
#include <Inventor/sensors/SoAlarmSensor.h> Inherits SoTimerQueueSensor. 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) Additional Inherited Members Detailed Description The SoAlarmSensor class is a sensor which will trigger once at a specified time. SoAlarmSensor provides a convenient way of setting up triggers for jobs which should be executed only once when they are scheduled. Constructor &; Destructor Documentation 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. See also: setFunction(), setData() SoAlarmSensor::~SoAlarmSensor (void) [virtual] Destructor. Member Function Documentation 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. See also: setTimeFromNow(), getTime() 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. See also: setTime(), getTime() const SbTime & SoAlarmSensor::getTime (void) const Returns the trigger time for the alarm as an absolute value from 1970-01-01 00:00:00. See also: setTime(), setTimeFromNow() void SoAlarmSensor::schedule (void) [virtual] Put the sensor in the global timer queue. See also: unschedule(), isScheduled() Reimplemented from SoTimerQueueSensor. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoAlarmSensor(3)
Man Page