|
||||||||||
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.LogicalClock
public class LogicalClock
Clock object to handle logical clock
This class sets and gets system clock. It just sets time by settime() and gets time by gettime().
Constructor Summary | |
---|---|
LogicalClock()
|
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 LogicalClock()
Method Detail |
---|
public TimeValue getTime()
IClock
getTime
in interface IClock
public boolean setTime(TimeValue clocktime)
IClock
setTime
in interface IClock
clocktime
-
clocktime Current time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |