|
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.ControllerManagement.ControllerManager
This class encapsulates a controller manager.
Controllers are passive objects that model a closed-loop control system. The object that is responsible for their activation and for controlling their operations is the controller manager. A controller manager is an active object. It maintains a list of controllers that are represented as objects of type Controller. When the controller manager is activated by the scheduler, it goes through the list, checks whether the controllers are stable and, if they are, it calls their 'doControl()' method.
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 | |
ControllerManager()
ControllerManager |
|
| Method Summary | |
ControllerModeManager |
getModeManager()
Gets the mode manager. |
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. |
boolean |
initialize()
The method inherited from the interface ActiveObject. |
boolean |
isConfigured()
Checks the configuration. |
void |
resetConfiguration()
Resets configuration of the super object and performs the local reset of the configuration. |
void |
runOneCycle(int deadline)
Scheduler entry point. |
void |
setModeManager(ControllerModeManager cmm)
Sets the mode manager. |
boolean |
terminate()
The method inherited from the interface ActiveObject. |
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 ControllerManager()
| Method Detail |
public void runOneCycle(int deadline)
runOneCycle in interface ActiveObjectdeadline - the method must return before this timepublic void resetConfiguration()
resetConfiguration in interface ConfigurableresetConfiguration in class AocsObjectpublic boolean isConfigured()
isConfigured in interface ConfigurableisConfigured in class AocsObjectpublic void writeToTelemetry(TelemetryStream stream)
writeToTelemetry in interface TelemeterablewriteToTelemetry in class AocsObjectstream - the telemetry streampublic int getTelemetryImageLength()
getTelemetryImageLength in interface TelemeterablegetTelemetryImageLength in class AocsObjectpublic void setModeManager(ControllerModeManager cmm)
cmm - particular controller mode managerpublic ControllerModeManager getModeManager()
public boolean initialize()
initialize in interface ActiveObjectpublic boolean terminate()
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 | ||||||||||