|
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
|
+--java.util.EventObject
|
+--RtjAocsFramework.AocsEvent.AocsEvent
|
+--RtjAocsFramework.AocsEvent.ModeEvent
This class encapsulates a mode event. A mode event records a change in operational mode in a mode manager.
This class adds the following attribute to the basic AOCS event class: the old mode, the new mode, and the mode manager that performed the mode change.
Copyright: see the Copyright Notice.
ModeManager,
Serialized Form| Field Summary |
| Fields inherited from class java.util.EventObject |
source |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
ModeEvent(Object dummySource)
|
|
| Method Summary | |
ModeManager |
getModeManager()
|
byte |
getNewMode()
|
byte |
getOldMode()
|
int |
getTelemetryImageLength()
Return the length (in bits) of the telemetry image of the object. |
void |
initialize(AocsObject creator,
short evtType,
byte oldMode,
byte newMode,
ModeManager modeManager)
Initialize the mode event. |
boolean |
isConfigured()
Return false if some configuration data are missing. |
void |
resetConfiguration()
Clear all configuration information. |
void |
writeToTelemetry(TelemetryStream tmStream)
Direct the object to write its own state to the telemetry stream. |
| Methods inherited from class RtjAocsFramework.AocsEvent.AocsEvent |
getCreator, getEventType, getTelemetryFormat, getTimeStamp, initialize, reset, setTelemetryFormat |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ModeEvent(Object dummySource)
| Method Detail |
public void initialize(AocsObject creator,
short evtType,
byte oldMode,
byte newMode,
ModeManager modeManager)
The creator and evtType parameters are the same as in the initialize method in the super class AocsEvent.
AocsEvent.initialize(RtjAocsFramework.BasicObjects.AocsObject, short)public byte getOldMode()
public byte getNewMode()
public ModeManager getModeManager()
public void resetConfiguration()
ConfigurableCalls to resetConfiguration are propagated to objects that are in a relationship of strong aggregation.
resetConfiguration in interface ConfigurableresetConfiguration in class AocsEventpublic 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 AocsEventpublic void writeToTelemetry(TelemetryStream tmStream)
Telemeterable
writeToTelemetry in interface TelemeterablewriteToTelemetry in class AocsEventpublic int getTelemetryImageLength()
Telemeterable
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class AocsEvent
|
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 | ||||||||||