Real-Time Java AOCS Framework v1.0 API Specification

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.

Field Summary
 
Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM
 
Constructor Summary
TestModeChangeAction()
           
 
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.ModeManagement.ModeChangeAction
getNextModeChangeAction, getTelemetryImageLength, resetConfiguration, setNextModeChangeAction, writeToTelemetry
 
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
 
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

TestModeChangeAction

public TestModeChangeAction()
Method Detail

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 v1.0 API Specification

Real-Time Java AOCS Framework project home page

Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland