public class SoOneShotSensor extends SoDelayQueueSensor
Calling schedule() in the callback is a useful way of getting something to happen repeatedly as often as possible, while still handling events and timeouts.
A priority 0 one-shot sensor isn't very useful, since scheduling it is exactly the same as directly calling its callback .
See also:
Inventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoOneShotSensor()
Default constructor.
|
SoOneShotSensor(java.lang.Runnable task)
Builds a new one shot sensor with the task to be run when
this sensor is triggered
|
getDefaultPriority, getPriority, isIdleOnly, setPriorityisScheduled, schedule, setTask, unscheduledispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadsGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com