|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.realtime.Clock
javax.realtime.DSS.SimulationClock
| Constructor Summary | |
SimulationClock()
Void constructor. |
|
| Method Summary | |
RelativeTime |
getResolution()
Return the resolution of the clock -- the interval between two ticks. |
AbsoluteTime |
getTime()
Return the current time in a freshly allocated object. |
void |
getTime(AbsoluteTime time)
Returns the current time in an existing object. |
void |
setResolution(RelativeTime resolution)
Set the resolution of this. |
void |
setTime(AbsoluteTime time)
|
| Methods inherited from class javax.realtime.Clock |
getRealtimeClock |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimulationClock()
| Method Detail |
public RelativeTime getResolution()
getResolution in class ClockRelativeTime representing
the resolution of this.public AbsoluteTime getTime()
getTime in class ClockAbsoluteTime object
representing the current time.public void getTime(AbsoluteTime time)
AbsoluteTime is changed to
some time between the invocation of the method and the return of the method.
getTime in class Clocktime - The AbsoluteTime object
which will have its time changed. If null, then nothing happens.public void setResolution(RelativeTime resolution)
Clock
setResolution in class Clockresolution - public void setTime(AbsoluteTime time)
time -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||