jp.go.aist.rtm.RTC.util.clock
Interface IClock

All Known Implementing Classes:
AdjustedClock, LogicalClock, SystemClock

public interface IClock

An interface to set and get time

This class is a interface for clock objects managed by ClockManager. ClockManager manages one or more clocks, and it returns appropriate clock objects according to demands. The clock object might be clock which just returns system time, or a clock which returns individual logical time.


Method Summary
 TimeValue getTime()
           Getting time
 boolean setTime(TimeValue clocktime)
           Setting time
 

Method Detail

getTime

TimeValue getTime()
Getting time

Returns:
Current time

setTime

boolean setTime(TimeValue clocktime)
Setting time

Parameters:
clocktime - clocktime Current time