RtjAocsFramework.ObjectList
Class SystemListenerList
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--RtjAocsFramework.ObjectList.ObjectList
|
+--RtjAocsFramework.ObjectList.SystemListenerList
- All Implemented Interfaces:
- Configurable, Resettable, Telemeterable
- public class SystemListenerList
- extends ObjectList
Encapsulation of a list of objects of type SystemListener. This class is
simply a type-safe wrapper around ObjectList. It ensures that objects in the
list are of type AocsData and performs all (potentially unsafe) casts
internally. Lists of of listener objects are normally used to hold the
objects that have registered interest in being notified of a specific event.
In the standard JavaBeans implementation, they are implemented as Vector
lists. In the framework, the ObjectList mechanism is preferred to avoid
dynamic memory allocation during normal operation.
Copyright: see the Copyright Notice.
- Version:
- 1.0
- Author:
- Alessandro Pasetti (University of Konstanz)
| 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 |
SystemListenerList
public SystemListenerList()
- See Also:
ObjectList.ObjectList()
locateObjectInList
public int locateObjectInList(SystemListener object)
- See Also:
ObjectList.locateObjectInList(Object)
addObject
public int addObject(SystemListener newObject)
- See Also:
ObjectList.addObject(Object)
removeObject
public int removeObject(SystemListener object)
- See Also:
ObjectList.removeObject(Object)
isObjectInList
public boolean isObjectInList(SystemListener object)
- See Also:
ObjectList.isObjectInList(Object)
first
public SystemListener first()
- See Also:
ObjectList.firstObject()
next
public SystemListener next()
- See Also:
ObjectList.nextObject()
getObjectByPosition
public SystemListener getObjectByPosition(int i)
- See Also:
ObjectList.getByPosition(int)
Real-Time Java AOCS Framework project home page
Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland