Real-Time Java AOCS Framework v1.0 API Specification

Package RtjAocsFramework.ObjectList

This package defines the basic classes for creating and manipulating lists of objects.

See:
          Description

Class Summary
AocsDataList Encapsulation of a list of AocsData objects.
AocsObjectList Encapsulation of a list of AocsObject objects.
ChangeListenerList Encapsulation of a list of objects of type ChangeListener.
ChangeObjectList Encapsulation of a list of objects of type ChangeObject.
ConfigurationListenerList Encapsulation of a list of objects of type ConfigurationListener.
ConsistencyCheckableList Encapsulation of a list of ConsistencyCheckable objects.
ControllerList Encapsulation of a list of objects of type Conroller.
FailureListenerList Encapsulation of a list of objects of type FailureListener.
ManoeuvreList Encapsulation of a list of objects of type Manoeuvre.
ManoeuvreListenerList Encapsulation of a list of objects of type ManoeuvreListener.
ModeListenerList Encapsulation of a list of objects of type ModeListener.
MonitoringCheckList Encapsulation of a list of MonitoringCheck objects.
ObjectList Encapsulation of a list of untyped objects.
PropertyMonitorList Encapsulation of a list of objects of type PropertyMonitor.
ReconfigurableList Encapsulation of a list of objects of type Reconfigurable.
ReconfigurationListenerList Encapsulation of a list of objects of type ReconfigurationListener.
RecoveryListenerList Encapsulation of a list of objects of type RecoveryListener.
SystemListenerList Encapsulation of a list of objects of type SystemListener.
TelecommandList Encapsulation of a list of objects of type Telecommand.
TelecommandListenerList Encapsulation of a list of objects of type TelecommandListener.
TelemeterableList Encapsulation of a list of objects of type Telemeterable.
TestCaseObjectList_1 Test case for ObjectList Class: check list size definition.
TestCaseObjectList_2 Test case for ObjectList Class: check object insertion and removal.
TestCaseObjectList_3 Test case for ObjectList Class: check list iteration operation.
UnitCommandList Encapsulation of a list of objects of type UnitCommand.
UnitFunctionalList Encapsulation of a list of objects of type Unit.
UnitHousekeepingList Encapsulation of a list of objects of type Unit.
UnitList Encapsulation of a list of objects of type Unit.
 

Package RtjAocsFramework.ObjectList Description

This package defines the basic classes for creating and manipulating lists of objects. Note that it is not possible to use standard container classes offered by the Java language of by Java libraries because these cannot be guaranteed to be compatible with the real-time requirements of the framework. In particular, it cannot be guaranteed that they do not perform dynamic memory allocation during normal operation.

Framework components often need to maintain lists of objects. For this purpose, the framework provides a generic object list of type ObjectList. This class manages a list of references to objects of generic type Object. Basically, it maintains a list of references and offers methods to add and remove references and to iterate through the references in the list.

Framework components that use object lists normally need to see the list as a container for objects (or references to objects) of a specific type. If they used directly ObjectList they would therefore have to perform potentially dangerous cast operations. In order to aboid this, wrapper classes are offered that extend ObjectList in a type-safe manner. Class ObjectList has a protected constructor and therefore cannot be directly instantiated by users.


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