|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface characterizing the on-board source of timing reference.
An object that implements AocsClock is capable of providing the on-board time.
Copyright: see the Copyright Notice.
| Method Summary | |
int |
getClockPeriod()
Return the clock period in case on-board time is updated periodically, otherwise return zero. |
int |
getCycle()
Return the current cycle number. |
int |
getTime()
Return the on-board time (unit of measure is application dependent). |
void |
synchronizeWithSystemTime()
Sychronize the local subsystem time with the system time. |
| Method Detail |
public int getTime()
public int getClockPeriod()
public int getCycle()
It is assumed that the software executes cyclically. This method returns the current cycle number counted from the last software reset.
public void synchronizeWithSystemTime()
Some applications may have different timing sources for different subsystems. If a central system time exists, a call to this method will cause the local time to be synchronized to the system time.
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||