aicas logoJamaicaVM 3.2 rel 62
RTSJ Implementation

Uses of Class
javax.realtime.Clock

Uses of Clock in javax.realtime
 

Methods in javax.realtime that return Clock
 Clock Timer.getClock()
          getClock returns the clock this timer was based on.
 Clock HighResolutionTime.getClock()
          getClock returns a reference to the clock associated with this.
static Clock Clock.getRealtimeClock()
          getRealtimeClock returns the default realtime clock.
 

Methods in javax.realtime with parameters of type Clock
 AbsoluteTime RelativeTime.absolute(Clock clock)
          absolute creates a new instance of absolute time for the point in time given by the current time of the given clock.
abstract  AbsoluteTime HighResolutionTime.absolute(Clock clock)
          absolute converts this time to an absolute time relative to the given clock.
 AbsoluteTime AbsoluteTime.absolute(Clock clock)
          absolute implements abstract method inherited from HighResolutionTime. absolute converts this time to an absolute time relative to the given clock.
 AbsoluteTime RationalTime.absolute(Clock clock, AbsoluteTime destination)
          Deprecated. RTSJ V1.0.1 class RationalTime is deprecated
 AbsoluteTime RelativeTime.absolute(Clock clock, AbsoluteTime destination)
          absolute converts this relative time into an instance of absolute time for the point in time given by the current time of the given clock.
abstract  AbsoluteTime HighResolutionTime.absolute(Clock clock, AbsoluteTime dest)
          absolute converts this time to an absolute time relative to the given clock.
 AbsoluteTime AbsoluteTime.absolute(Clock clock, AbsoluteTime dest)
          absolute implements abstract method inherited from HighResolutionTime.
 RelativeTime RelativeTime.relative(Clock clock)
          relative returns a new instance of this interval with the given clock association.
abstract  RelativeTime HighResolutionTime.relative(Clock clock)
          relative returns a new relative time object for this relative to the given clock.
 RelativeTime AbsoluteTime.relative(Clock clock)
          relative implements abstract method inherited from HighResolutionTime. relative returns a new relative time object for this relative to the given clock.
 RelativeTime RelativeTime.relative(Clock clock, RelativeTime destination)
          relative returns a copy of this interval with the given clock association.
abstract  RelativeTime HighResolutionTime.relative(Clock clock, RelativeTime time)
          relative converts this time to a relative time using the given clock.
 RelativeTime AbsoluteTime.relative(Clock clock, RelativeTime dest)
          relative implements abstract method inherited from HighResolutionTime. relative returns a new relative time object for this relative to the given clock.
static void RealtimeThread.sleep(Clock clock, HighResolutionTime time)
           sleep for a given relative or absoulute time using the given clock.
 

Constructors in javax.realtime with parameters of type Clock
AbsoluteTime(AbsoluteTime time, Clock clock)
          Constructor to create an absoulte time with millis and nanos taken from an existing absolute time.
AbsoluteTime(Clock clock)
          Constructor to create absolute time 0ms, 0ns with given clock association.
AbsoluteTime(java.util.Date date, Clock clock)
          Constructor to create an absolute time from a time represented by an instance of Date.
AbsoluteTime(long millis, int nanos, Clock clock)
          Constructor to create an absolute time from given milli and nano seconds. nanos should be positive.
OneShotTimer(HighResolutionTime start, Clock clock, AsyncEventHandler handler)
          Constructor to create an instance with given time, clock and handler.
PeriodicTimer(HighResolutionTime start, RelativeTime interval, Clock clock, AsyncEventHandler handler)
          Constructor to create an instance with given time, interval, clock and handler.
RelativeTime(Clock clock)
           Constructor to create the empty interval bound to the provided clock.
RelativeTime(long ms, int ns, Clock clock)
           Constructor to create an interval using the provided interval that is bound to the default realtime clock.
RelativeTime(RelativeTime time, Clock clock)
          Constructor to create a new RelativeTime object that represents the same interval as the given RelativeTime and that has the same clock association or the clock association provided as a non-null clock parameter.
Timer(HighResolutionTime time, Clock clock, AsyncEventHandler handler)
          Constructor to create a timer with the given time, clock and handler.
 


aicas logoJamaicaVM 3.2 rel 62
RTSJ Implementation

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.