|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.go.aist.rtm.RTC.util.clock.SystemClock
jp.go.aist.rtm.RTC.util.clock.AdjustedClock
public class AdjustedClock
Clock object to handle adjusted clock
This class stores a offset time with current system clock when settime(), and gettime() returns adjusted clock by the offset.
Field Summary |
---|
Fields inherited from class jp.go.aist.rtm.RTC.util.clock.SystemClock |
---|
nanoBase, TIME_CONV_UNIT |
Constructor Summary | |
---|---|
AdjustedClock()
|
Method Summary | |
---|---|
TimeValue |
getTime()
Getting time |
boolean |
setTime(TimeValue clocktime)
Setting time |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdjustedClock()
Method Detail |
---|
public TimeValue getTime()
IClock
getTime
in interface IClock
getTime
in class SystemClock
public boolean setTime(TimeValue clocktime)
IClock
setTime
in interface IClock
setTime
in class SystemClock
clocktime
-
clocktime Current time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |