RtjAocsFramework.ReconfigurationManagement
Class ConfigurationState
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.ReconfigurationManagement.ConfigurationState
- public class ConfigurationState
- extends RootObject
This class encapsulates the state of a reconfiguration manager.
A reconfiguration is usually the result of a detected or suspected fault
in an object that, through the reconfiguration, is excluded from the normal
flow of control. Reconfiguration information should therefore be preserved
across software and hardware resets in order to allow safe autonomous
re-initialization of the AOCS software.
Configuration information is stored in an object of type ConfigurationState.
This object encapsulates the configuration of a reconfiguration group by
storing the following information: the configurations that have been marked
unhealthy; and the current configuration. Individual configuration managers
may add more specific information.
Storage of configuration information is done using the memento design
pattern. Since the exact format of the configuration state data cannot be
specified in advance, the internal structure of the ConfigurationState type
remains correspondingly open. Essentially, configuration state object
reserve a fixed amount of memory that reconfiguration managers can use to
store class-specific information. In the present implementation, this
"memory pad" area consists of a single integer.
Copyright: see the Copyright Notice.
- Version:
- 1.0
- Author:
- Alessandro Pasetti (University of Konstanz)
- See Also:
- The Reconfiguration Framelet Document.,
Reconfigurable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationState
public ConfigurationState()
ConfigurationState
public ConfigurationState(short reconfigurationManagerId,
int memoryPad)
getReconfigurationManagerId
public short getReconfigurationManagerId()
getMemoryPad
public int getMemoryPad()
setMemoryPad
public void setMemoryPad(int memoryPadValue)
Real-Time Java AOCS Framework project home page
Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland