|
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
|
+--RtjAocsFramework.TelemetryManagement.TelemetryManager
This class encapsulates a telemetry manager. The telemetry manager is an active component whose responsibility is the management of the objects that must be written to the telemetry stream. The telemetry manager maintains a list of objects that have been marked for inclusion in telemetry. When it is activated, it goes through the list and calls the writeToTelemetry method of each object in the list. Additionally, the telemetry manager performs some housekeeping operations of which the most important is to ensure that the size of the telemetry image is compatible with the capacity of the telemetry stream.The telemetry manager obtains the telemetry list to be used in the next frame from a telemetry mode manager.
Copyright: see the Copyright Notice.
ConsistencyCheckable,
MonitoringCheck,
ChangeEvent,
The Telemetry Management Framelet Document.| Field Summary |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
TelemetryManager()
|
|
| Method Summary | |
RecoveryAction |
getRecoveryAction()
Return the recovery action associated to the "too much telemetry data" failuure. |
int |
getTelemetryImageLength()
Return the length (in bits) of the telemetry image of the object. |
TelemetryModeManager |
getTelemetryModeManager()
|
TelemetryStream |
getTelemetryStream()
|
boolean |
initialize()
Initialize an active object before it is scheduled. |
boolean |
isConfigured()
Return false if some configuration data are missing. |
void |
resetConfiguration()
Unload the mode manager, the telemetry stream and the recovery action associated to the "too much telemetry data" error. |
void |
runOneCycle(int deadline)
Perform all actions associated to the current cycle. |
void |
setRecoveryAction(RecoveryAction r)
Load the recovery action associated to the "too much telemetry data" failuure. |
void |
setTelemetryModeManager(TelemetryModeManager tmm)
|
void |
setTelemetryStream(TelemetryStream s)
|
boolean |
terminate()
Perfrom any shutdown actions before an active is de-scheduled. |
void |
writeToTelemetry(TelemetryStream tmStream)
Direct 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 TelemetryManager()
| Method Detail |
public void runOneCycle(int deadline)
ActiveObject
runOneCycle in interface ActiveObjectdeadline - deadline by which the object must have returned. This
parameter allows implementation of cooperative scheduling.public void resetConfiguration()
resetConfiguration in interface ConfigurableresetConfiguration in class AocsObjectpublic boolean isConfigured()
ConfigurableTypically, a false value indicates that a plug-in component is missing or that the object has not been initialized. This is a negative check only: a return value of true cannot guarantee that the object is correctly configured.
Calls to resetConfiguration on an object A are normally not propagated objects of type AocsObject that are contained or otherwise aggregated to A. The rationale for this policy is that all objects of type AocsObject implement interface configurable and therefore their configuration status should be checked externally (probably through the configuration check service of the system manager).
isConfigured in interface ConfigurableisConfigured in class AocsObjectpublic void writeToTelemetry(TelemetryStream tmStream)
Telemeterable
writeToTelemetry in interface TelemeterablewriteToTelemetry in class AocsObjectpublic int getTelemetryImageLength()
Telemeterable
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class AocsObjectpublic void setTelemetryModeManager(TelemetryModeManager tmm)
public TelemetryModeManager getTelemetryModeManager()
public TelemetryStream getTelemetryStream()
public void setTelemetryStream(TelemetryStream s)
public void setRecoveryAction(RecoveryAction r)
public RecoveryAction getRecoveryAction()
public boolean initialize()
ActiveObject
initialize in interface ActiveObjectpublic boolean terminate()
ActiveObject
terminate in interface ActiveObject
|
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 | ||||||||||