SoAlarmSensor - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 2.5.0
Note : Coin

NAMESoAlarmSensor − The SoAlarmSensor class is a sensor which will trigger once at a specified time​.

SYNOPSIS
#include <Inventor/sensors/SoAlarmSensor​.h> Inherits SoTimerQueueSensor​.

Public Member FunctionsSoAlarmSensor (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 DescriptionThe 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() References SbTime::setToTimeOfDay()​.

const SbTime & SoAlarmSensor::getTime (void) constReturns 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​. References SoTimerQueueSensor::schedule(), and SoTimerQueueSensor::setTriggerTime()​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   15,200 byte
man-SoAlarmSensor.3coin2Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 183,627
Visitor ID   :     :  
Visitor IP   :   3.144.252.243   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.