gov.nasa.gsfc.drl.rtstps.core.output.hdf5
Class WeightedRDRList

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.WeightedRDRList

 class WeightedRDRList
extends java.lang.Object

The list of active RDRs which various access functions. The main feature is that the SpacecraftDiary is always weighted to be at the END of the list. The list then is not alphabetical, simple in the order the RDR creation process started with the special case that the Spacecraft Diary is at the end of the list. NOTE: this is currently not used and may be deprecated in the near future.


Field Summary
private  java.util.LinkedList<RDR> weightedList
           
 
Constructor Summary
WeightedRDRList()
           
 
Method Summary
(package private)  RDR get(RDRName rdrName)
          Find the RDR by name or return null
(package private)  java.util.List<RDR> getList()
          Get all the RDRs in the list
(package private)  void put(RDR rdr)
          Put the RDR object in question in the list and weight according to some internal algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weightedList

private java.util.LinkedList<RDR> weightedList
Constructor Detail

WeightedRDRList

WeightedRDRList()
Method Detail

put

void put(RDR rdr)
Put the RDR object in question in the list and weight according to some internal algorithm. In this case the attitude and ephemeris packet is always at the end of the list because it must be processed last for the construction of RDRs.

Parameters:
rdr - an RDR object of interest

get

RDR get(RDRName rdrName)
Find the RDR by name or return null

Parameters:
rdrName - the RDR of interest
Returns:
the RDR in the list or null if it does not exist

getList

java.util.List<RDR> getList()
Get all the RDRs in the list

Returns:
the list of RDRs held in an instance of this class