|
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 | ||||||||||
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--JbedSmmApplication.OperatingSystemObjects.TestSmmClock
A system time component for the SMM application deployed on a desktop. The component offers a method for acquisition of the system time, clock period, and clock cycle.
Copyright: see the Copyright Notice.
| Field Summary |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
TestSmmClock()
Default constructor |
|
| 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 |
getTelemetryImageLength()
Return the length in bits of the telemetry image that would be written by the object in response to a call to method writeToTelemetry. |
int |
getTime()
Return the on-board time (unit of measure is application dependent). |
void |
reset()
Reset super object state and performs a local reset. |
void |
synchronizeWithSystemTime()
Sychronize the local subsystem time with the system time. |
void |
writeToTelemetry(TelemetryStream stream)
Causes the object to write its own state to the telemetry stream. |
| Methods inherited from class RtjAocsFramework.BasicObjects.RootObject |
getClassId, getInstanceId, setClassId |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestSmmClock()
| Method Detail |
public int getTime()
getTime in interface AocsClockgetTime in class AocsObjectpublic int getClockPeriod()
getClockPeriod in interface AocsClockpublic int getCycle()
It is assumed that the software executes cyclically. This method returns the current cycle number counted from the last software reset.
getCycle in interface AocsClockgetCycle in class AocsObjectpublic 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.
synchronizeWithSystemTime in interface AocsClockpublic void reset()
reset in interface Resettablereset in class AocsObjectpublic int getTelemetryImageLength()
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class AocsObjectpublic void writeToTelemetry(TelemetryStream stream)
writeToTelemetry in interface TelemeterablewriteToTelemetry in class AocsObjectstream - the telemetry stream
|
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 | ||||||||||