| 
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Clock | |
| javax.realtime | |
| javax.realtime.DSS | |
| Uses of Clock in javax.realtime | 
| Fields in javax.realtime declared as Clock | |
protected  Clock | 
Timer.clock
 | 
protected  Clock | 
HighResolutionTime.myClock
The Clock associated with this 
 
 HighResolutionTime | 
| Methods in javax.realtime that return Clock | |
 Clock | 
Timer.getClock()
Return the Clock that this timer is based on. | 
 Clock | 
HighResolutionTime.getClock()
Returns a reference to the clock associated with this.  | 
static Clock | 
Clock.getRealtimeClock()
There is always one clock object available: a realtime clock that advances in synch with the external world.  | 
| Methods in javax.realtime with parameters of type Clock | |
 AbsoluteTime | 
RelativeTime.absolute(Clock clock)
Convert the time of this to an absolute time, using the given instance of Clock
 to determine the current time. | 
 AbsoluteTime | 
RelativeTime.absolute(Clock clock,
         AbsoluteTime dest)
Convert the time of this to an absolute time, using the given instance of Clock to determine the current time.  | 
 RelativeTime | 
RelativeTime.relative(Clock clock)
Return a copy of this.  | 
 RelativeTime | 
RelativeTime.relative(Clock clock,
         RelativeTime dest)
Return a copy of this.  | 
abstract  AbsoluteTime | 
HighResolutionTime.absolute(Clock clock)
Convert the time of this to an absolute time, using the given instance of Clock 
 to determine the current time when necessary. | 
abstract  AbsoluteTime | 
HighResolutionTime.absolute(Clock clock,
         AbsoluteTime dest)
Convert the time of this to an absolute time, using the given instance of Clock to 
 determine the current time when necessary. | 
abstract  RelativeTime | 
HighResolutionTime.relative(Clock clock,
         RelativeTime dest)
Convert the time of this to a relative time, using the given instance of Clock to 
 determine the current time when necessary. | 
 AbsoluteTime | 
AbsoluteTime.absolute(Clock clock)
Return a copy of this modified if necessary to have the specified clock association.  | 
 AbsoluteTime | 
AbsoluteTime.absolute(Clock clock,
         AbsoluteTime dest)
Return a copy of this modified if necessary to have the specified clock association.  | 
 RelativeTime | 
AbsoluteTime.relative(Clock clock)
Convert the time of this to a relative time, using the given instance of Clock to determine the current time. | 
 RelativeTime | 
AbsoluteTime.relative(Clock clock,
         RelativeTime dest)
Convert the time of this to a relative time, using the given instance of Clock to determine the current time. | 
| Constructors in javax.realtime with parameters of type Clock | |
Timer(HighResolutionTime time,
      Clock clock,
      AsyncEventHandler handler)
Constructor.  | 
|
RelativeTime(Clock clock)
Equivalent to new RelativeTime(0,0,clock). | 
|
RelativeTime(long millis,
             long nanos,
             Clock clock)
Construct a RelativeTime 
 object representing an interval based on the parameter 
 millis plus the parameter nanos. | 
|
RelativeTime(RelativeTime time,
             Clock clock)
Make a new RelativeTime 
 object from the given 
 RelativeTime object. | 
|
PeriodicTimer(HighResolutionTime start,
              RelativeTime interval,
              Clock clock,
              AsyncEventHandler handler)
Create an instance of AsynchEvent
 that executes its fire() method periodically. | 
|
OneShotTimer(HighResolutionTime fireTime,
             Clock clock,
             AsyncEventHandler handler)
Create an instance of AsynchEvent that will
 execute its fire method at the expiration of the given time. | 
|
AbsoluteTime(AbsoluteTime time,
             Clock clock)
Make a new AbsoluteTime
 object from the given AbsoluteTime 
 object. | 
|
AbsoluteTime(Clock clock)
Equivalent to new AbsoluteTime(0,0,clock). | 
|
AbsoluteTime(java.util.Date date,
             Clock clock)
Equivalent to new AbsoluteTime(date.getTime(),0,clock). | 
|
AbsoluteTime(long millis,
             long nanos,
             Clock clock)
Construct an AbsoluteTime object 
 with time millisecond and nanosecond components 
 past the epoch for clock. | 
|
| Uses of Clock in javax.realtime.DSS | 
| Subclasses of Clock in javax.realtime.DSS | |
 class | 
SimulationClock
 | 
  | 
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||