Interface XSettableTimerImpl
- All Superinterfaces:
XTimerImpl
- All Known Implementing Classes:
MockTimer, TimerWpiAdapter
-
Method Summary
Modifier and TypeMethodDescriptionvoidadvanceTimeInSecondsBy(double time) Advance the timervoidsetTimeInSeconds(double time) Set the current timeMethods inherited from interface XTimerImpl
delay, getFPGATimestamp, getMatchTime
-
Method Details
-
setTimeInSeconds
void setTimeInSeconds(double time) Set the current time- Parameters:
time- The current time in seconds
-
advanceTimeInSecondsBy
void advanceTimeInSecondsBy(double time) Advance the timer- Parameters:
time- Duration in seconds to advance by
-