RtjAocsFramework.ModeManagement
Class TestModeChangeAction
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--RtjAocsFramework.ModeManagement.ModeChangeAction
|
+--RtjAocsFramework.ModeManagement.TestModeChangeAction
- All Implemented Interfaces:
- Configurable, Resettable, Telemeterable
- public class TestModeChangeAction
- extends ModeChangeAction
Dummy mode change action that increments a counter whenever its
doModeExit and doModeEntry methods are called (this is useful for testing
purposes).
Copyright: see the Copyright Notice.
- Version:
- 1.0
- Author:
- Alessandro Pasetti (University of Konstanz)
- See Also:
- The Operational Mode Framelet Document.
|
Method Summary |
void |
doModeEntryAction(int newMode)
Simply calls the doModeEntryAction method of the super object to pass on the
mode change action request to the next item in the chain of responsibility. |
void |
doModeExitAction(int oldMode)
Simply calls the doModeExitAction method of the super object to pass on the
mode change action request to the next item in the chain of responsibility. |
int |
getEntryCounter()
|
int |
getExitCounter()
|
| Methods inherited from class RtjAocsFramework.BasicObjects.AocsObject |
addConfigurationListener, addFailureListener, finalize, getAocsClock, getConfigurationListenerList, getCycle, getDestructionRecoveryAction, getFailureListenerList, getSystemManager, getTelemetryFormat, getTime, isConfigured, removeConfigurationListener, removeFailureListener, reportConfigurationEvent, reportFailure, reset, resetStaticConfiguration, setAocsClock, setDestructionRecoveryAction, setMaxNumberOfConfigurationListeners, setMaxNumberOfFailureListeners, setSystemManager, setTelemetryFormat |
TestModeChangeAction
public TestModeChangeAction()
doModeExitAction
public void doModeExitAction(int oldMode)
- Simply calls the doModeExitAction method of the super object to pass on the
mode change action request to the next item in the chain of responsibility.
- Overrides:
doModeExitAction in class ModeChangeAction
doModeEntryAction
public void doModeEntryAction(int newMode)
- Simply calls the doModeEntryAction method of the super object to pass on the
mode change action request to the next item in the chain of responsibility.
- Overrides:
doModeEntryAction in class ModeChangeAction
getEntryCounter
public int getEntryCounter()
getExitCounter
public int getExitCounter()
Real-Time Java AOCS Framework project home page
Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland