|
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.ModeManagement.ModeManager
|
+--RtjAocsFramework.ModeManagement.AocsMissionModeManager
This class encapsulates a mission mode manager.
In the mode model used by the framework, components are responsible for managing their own operational mode. They decide on mode changes based on their observation of the external environment. Part of this information can come from monitoring the state of other components but part must come from external signals.
The ground station could, for instance, provide information about changes in orbital conditions, or the beginning of delta-V manoeuvres. Similarly, the central data handling system might be sending commands to switch mode.
The AOCS Mission Mode Manager is the component that is responsible for supplying this information to the rest of the application software. This component encapsulates an operational mode. Its operational mode plays a special role and is therefore given a special name: mission mode. The mission mode would normally be set by telecommands originating either in the central data handling system or at the ground station.
Components whose mode is affected by the agents outside the application software should register as listeners to mode events fired by the mission mode manager.
The mission mode manager basically is a mode manager with no switching logic and without any implementers.
Copyright: see the Copyright Notice.
| Field Summary |
| Fields inherited from class RtjAocsFramework.ModeManagement.ModeManager |
currentMode, nModes, nStrategies |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
AocsMissionModeManager()
Default constructor: the object should not be used before being initialized. |
|
AocsMissionModeManager(int nModes,
int defaultMode,
int numberOfListeners)
Constructor for the AOCS mission mode manager. |
|
| Method Summary | |
int |
getTelemetryImageLength()
Return the length (in bits) of the telemetry image of the object. |
void |
setNumberOfModes(int n)
Initialization method to set the number of modes. |
void |
setNumberOfStrategies(int n)
Calling this method causes a configuration error. |
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 AocsMissionModeManager(int nModes,
int defaultMode,
int numberOfListeners)
nModes - number of modes managed by the mode managerdefaultMode - default mode upon creation and after resetnumberOfListeners - maximum number of listeners to mode eventspublic AocsMissionModeManager()
| Method Detail |
public void setNumberOfStrategies(int n)
setNumberOfStrategies in class ModeManagerpublic void setNumberOfModes(int n)
setNumberOfModes in class ModeManagerpublic void writeToTelemetry(TelemetryStream tmStream)
Telemeterable
writeToTelemetry in interface TelemeterablewriteToTelemetry in class ModeManagerpublic int getTelemetryImageLength()
Telemeterable
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class ModeManager
|
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 | ||||||||||