|
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.FailureRecovery.RecoveryAction
|
+--RtjAocsFramework.FailureRecovery.ModeChange
This recovery action causes an operational mode change in a target mode manager. The target mode manager and the new operational mode are settable configuration parameters.
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 | |
ModeChange()
This component should not be used before it is configured by setting the target mode manager and the new mode. |
|
ModeChange(ModeManager targetModeManager,
int newMode)
|
|
| Method Summary | |
void |
doRecovery()
Calling this method will cause the recovery action to be executed. |
int |
getTelemetryImageLength()
Return the length (in bits) of the telemetry image of the object. |
boolean |
isConfigured()
Check that a target mode manager has been loaded |
void |
resetConfiguration()
Unload the target mode manager and set the target mode to 0. |
void |
setModeManager(ModeManager m)
Set the target mode manager whose mode must be changed when the recovery action is executed. |
void |
setNewMode(int m)
Set the target operational mode to which the target mode manager is commanded when the recovery action is executed. |
void |
writeToTelemetry(TelemetryStream tmStream)
Direct the object to write its own state to the telemetry stream. |
| Methods inherited from class RtjAocsFramework.FailureRecovery.RecoveryAction |
getNextRecoveryAction, isEnabled, reset, setEnabled, setNextRecoveryAction |
| 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 ModeChange()
public ModeChange(ModeManager targetModeManager,
int newMode)
| Method Detail |
public boolean isConfigured()
isConfigured in interface ConfigurableisConfigured in class AocsObjectpublic void doRecovery()
RecoveryAction
doRecovery in class RecoveryActionpublic void resetConfiguration()
resetConfiguration in interface ConfigurableresetConfiguration in class RecoveryActionpublic void setModeManager(ModeManager m)
public void setNewMode(int m)
public void writeToTelemetry(TelemetryStream tmStream)
Telemeterable
writeToTelemetry in interface TelemeterablewriteToTelemetry in class RecoveryActionpublic int getTelemetryImageLength()
Telemeterable
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class RecoveryAction
|
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 | ||||||||||