public interface Input extends longIntervalSupplier
| Modifier and Type | Method and Description |
|---|---|
long |
getAsLong()
For the sake of efficiency, ActivityMotors that consume values from this interface should do a range check
after getting the value.
|
long |
getCurrent() |
long |
getInterval(long stride)
For the sake of efficiency, ActivityMotors that consume values from this interface
should do a range check after getting the value.
|
AtomicLong |
getMax() |
AtomicLong |
getMin() |
AtomicLong getMin()
AtomicLong getMax()
long getCurrent()
long getAsLong()
getMax(), the motor should
take this as a signal to terminate gracefully with a log line indicating why.getAsLong in interface LongSupplierlong getInterval(long stride)
getMax, the motor should take this as a signal to terminate
gracefullly with a log line indicating why.getInterval in interface longIntervalSupplierstride - The width of the interval of numbers returnedCopyright © 2017. All rights reserved.