|
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.ManoeuvreManagement.ManoeuvreManager
This class encapsulates a manoeuvre manager.
The manoeuvre manager is an active component that is responsible for controlling execution of manoeuvres. Manoeuvres are loaded into the manoeuvre managers and from that moment onward their execution, termination, holding, and resumption remain under the control of the manoeuvre manager.
Change Record:
setManoeuvreListSize that is semantically identical to the
initializeManoeuvreList method but has a signature that complies with the JavaBeans
property naming pattern. Done by A. Pasetti on 24.03.03
| Field Summary |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
ManoeuvreManager()
ManoeuvreManager |
|
| Method Summary | |
void |
abortManoeuvre(Manoeuvre m)
Abort a manoeuvre. |
void |
abortManoeuvre(short t)
Abort all manoeuvres of the specified type. |
void |
addManoeuvre(Manoeuvre m)
Load a manoeuvre. |
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. |
void |
holdManoeuvre(Manoeuvre m)
Hold a manoeuvre. |
void |
holdManoeuvre(short t)
Hold a manoeuvre. |
boolean |
initialize()
No initialization actions are associated to this active object. |
void |
initializeManoeuvreList(int listSize)
ManoeuvreManager class must be statically configured prior to initializing an individual ManoeuvreManager. |
boolean |
isConfigured()
Checks the configuration. |
void |
removeManoeuvre(Manoeuvre m)
Unload a manoeuvre. |
void |
resetConfiguration()
Resets configuration of the super object and performs the local reset of the configuration. |
void |
resumeManoeuvre(Manoeuvre m)
Resume a held manoeuvre. |
void |
resumeManoeuvre(short t)
Resume all manoeuvres of the specified type. |
protected void |
runAbortedManoeuvre(Manoeuvre mm)
This implementation removes the manoeuvre from the manoeuvre list. |
protected void |
runFinishedManoeuvre(Manoeuvre mm)
This implementation notifies the manoeuvre that it can perform its final close down and removes it from the manoeuvre list. |
protected void |
runHeldManoeuvre(Manoeuvre mm)
This implementation does nothing. |
protected void |
runInProcessManoeuvre(Manoeuvre mm)
This implementation verifies that the manoeuvre can continue. |
protected void |
runManoeuvre(Manoeuvre mm)
This method determines the current state of the manoeuvre and dispatches it to other methods accordingly. |
void |
runOneCycle(int deadline)
Perform all actions associated to the current cycle. |
protected void |
runReadyManoeuvre(Manoeuvre mm)
This implementation checks to see if is the appropriate time to start the manoeuvre. |
protected void |
runResetManoeuvre(Manoeuvre mm)
This implementation notifies the manoeuvre that it is being aborted and removes it from the manoeuvre list. |
void |
setManoeuvreListSize(int listSize)
This method is identical to method initializeManoeuvreList. |
void |
startManoeuvre(Manoeuvre m)
This method forces the start of a manoeuvre. |
void |
startManoeuvre(short t)
This method forces the starting of all manoeuvres of the specified type. |
boolean |
terminate()
No termination actions are associated to this active object. |
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 ManoeuvreManager()
| Method Detail |
protected void runManoeuvre(Manoeuvre mm)
mm - monitored manoeuvre to runprotected void runInProcessManoeuvre(Manoeuvre mm)
mm - manoeuvre to runprotected void runReadyManoeuvre(Manoeuvre mm)
mm - manoeuvre to runprotected void runFinishedManoeuvre(Manoeuvre mm)
mm - manoeuvre to runprotected void runResetManoeuvre(Manoeuvre mm)
mm - manoeuvre to runprotected void runAbortedManoeuvre(Manoeuvre mm)
mm - manoeuvre to runprotected void runHeldManoeuvre(Manoeuvre mm)
mm - monitored manoeuvre to runpublic void resetConfiguration()
resetConfiguration in interface ConfigurableresetConfiguration in class AocsObjectpublic boolean isConfigured()
isConfigured in interface ConfigurableisConfigured 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 streampublic void initializeManoeuvreList(int listSize)
listSize - the number of manoeuvres supported by this ManoeuvreManagerpublic void setManoeuvreListSize(int listSize)
initializeManoeuvreList.
listSize - the number of manoeuvres supported by this ManoeuvreManagerpublic void addManoeuvre(Manoeuvre m)
m - a manoeuvre to loadpublic void removeManoeuvre(Manoeuvre m)
m - a manoeuvre to unloadpublic void holdManoeuvre(Manoeuvre m)
m - a manoeuvre to holdpublic void holdManoeuvre(short t)
t - a type of manoeuvres to holdpublic void resumeManoeuvre(Manoeuvre m)
m - a manoeuvre to resumepublic void resumeManoeuvre(short t)
t - a type of manoeuvres to resumepublic void startManoeuvre(Manoeuvre m)
m - a manoeuvre to startpublic void startManoeuvre(short t)
t - a type of manoeuvres to startpublic void abortManoeuvre(Manoeuvre m)
m - a manoeuvre to abortpublic void abortManoeuvre(short t)
t - a type of manoeuvres to abortpublic boolean initialize()
initialize in interface ActiveObjectpublic boolean terminate()
terminate in interface ActiveObjectpublic void runOneCycle(int deadline)
ActiveObject
runOneCycle in interface ActiveObjectdeadline - deadline by which the object must have returned. This
parameter allows implementation of cooperative scheduling.
|
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 | ||||||||||