public class SoAlarmSensor extends SoTimerQueueSensor
See also:
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoAlarmSensor()
Constructor.
|
SoAlarmSensor(java.lang.Runnable task)
Build a new alarm sensor with the task to be executed when the sensor
is triggered.
|
Modifier and Type | Method and Description |
---|---|
SbTime |
getTime()
Returns the time at which the sensor is set to be triggered.
|
void |
setTime(SbTime absTime)
Sets the sensor to go off at the specified time.
|
void |
setTimeFromNow(SbTime relTime)
Sets the sensor to go off the given amount of time from now.
|
getTriggerTime
isScheduled, schedule, setTask, unschedule
dispose, getNativeResourceHandle
public SoAlarmSensor(java.lang.Runnable task)
public SoAlarmSensor()
public void setTime(SbTime absTime)
public void setTimeFromNow(SbTime relTime)
public SbTime getTime()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com