T
- The type of the parameter that should be returned to the the
method interruptFired(int, Object)
public abstract class InterruptHandlerFunction<T> extends java.lang.Object
java.util.concurrent.atomic
as these objects are all thread safe.Constructor and Description |
---|
InterruptHandlerFunction() |
Modifier and Type | Method and Description |
---|---|
T |
overridableParamater()
Override this method if you would like to pass a specific
parameter to the
interruptFired(int, Object) when it is fired by the interrupt. |
public InterruptHandlerFunction()
public T overridableParamater()
interruptFired(int, Object)
when it is fired by the interrupt.
This method is called once when InterruptableSensorBase.requestInterrupts(InterruptHandlerFunction)
is run.