Real-Time Java AOCS Framework v1.0 API Specification

RtjAocsFramework.ObjectList
Class ControllerList

java.lang.Object
  |
  +--RtjAocsFramework.BasicObjects.RootObject
        |
        +--RtjAocsFramework.BasicObjects.AocsObject
              |
              +--RtjAocsFramework.ObjectList.ObjectList
                    |
                    +--RtjAocsFramework.ObjectList.ControllerList
All Implemented Interfaces:
Configurable, Resettable, Telemeterable

public class ControllerList
extends ObjectList

Encapsulation of a list of objects of type Conroller. This class is simply a type-safe wrapper around class ObjectList. It ensures that objects in the list are of type Controller and performs all (potentially unsafe) casts internally.

Copyright: see the Copyright Notice.

Version:
1.0
Author:
Alessandro Pasetti (University of Konstanz), Vaclav Cechticky (IfA ETHZ)

Field Summary
 
Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM
 
Constructor Summary
ControllerList()
           
 
Method Summary
 int addObject(Controller newObject)
           
 Controller first()
           
 Controller getObjectByPosition(int i)
           
 boolean isObjectInList(Controller object)
           
 int locateObjectInList(Controller object)
           
 Controller next()
           
 int removeObject(Controller object)
           
 
Methods inherited from class RtjAocsFramework.ObjectList.ObjectList
addObject, firstObject, getByPosition, getListSize, getNumberOfItems, getPosition, getTelemetryImageLength, isConfigured, isLast, isListFull, isObjectInList, localReset, localResetConfiguration, locateObjectInList, nextObject, removeObject, removeObjectByPosition, reset, resetConfiguration, setListSize, writeToTelemetry
 
Methods inherited from class RtjAocsFramework.BasicObjects.AocsObject
addConfigurationListener, addFailureListener, finalize, getAocsClock, getConfigurationListenerList, getCycle, getDestructionRecoveryAction, getFailureListenerList, getSystemManager, getTelemetryFormat, getTime, removeConfigurationListener, removeFailureListener, reportConfigurationEvent, reportFailure, 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

ControllerList

public ControllerList()
See Also:
ObjectList.ObjectList()
Method Detail

locateObjectInList

public int locateObjectInList(Controller object)
See Also:
ObjectList.locateObjectInList(Object)

addObject

public int addObject(Controller newObject)
See Also:
ObjectList.addObject(Object)

removeObject

public int removeObject(Controller object)
See Also:
ObjectList.removeObject(Object)

isObjectInList

public boolean isObjectInList(Controller object)
See Also:
ObjectList.isObjectInList(Object)

first

public Controller first()
See Also:
ObjectList.firstObject()

next

public Controller next()
See Also:
ObjectList.nextObject()

getObjectByPosition

public Controller getObjectByPosition(int i)
See Also:
ObjectList.getByPosition(int)

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