Real-Time Java AOCS Framework v1.0 API Specification

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

Constructor Summary
ConfigurationState()
           
ConfigurationState(short reconfigurationManagerId, int memoryPad)
           
 
Method Summary
 int getMemoryPad()
           
 short getReconfigurationManagerId()
           
 void setMemoryPad(int memoryPadValue)
           
 
Methods inherited from class RtjAocsFramework.BasicObjects.RootObject
getClassId, getInstanceId, setClassId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationState

public ConfigurationState()

ConfigurationState

public ConfigurationState(short reconfigurationManagerId,
                          int memoryPad)
Method Detail

getReconfigurationManagerId

public short getReconfigurationManagerId()

getMemoryPad

public int getMemoryPad()

setMemoryPad

public void setMemoryPad(int memoryPadValue)

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