gov.nasa.gsfc.drl.rtstps.core.output.hdf5
Class RDRFactory
java.lang.Object
gov.nasa.gsfc.drl.rtstps.core.output.hdf5.RDRFactory
public final class RDRFactory
- extends java.lang.Object
A factory class & method for creating specific RDR based on various input parameters.
This class is used while processing packets in real time from an input stream.
Method Summary |
static void |
add(RDRName rdrName,
RDR rdr)
For any RDR object created, it may be stored here through this method, duplicates |
static RDR |
createRDR(RDRName anRdrName,
AllData allData,
DataProducts dataProducts,
FixedDomainDescription drl)
Create the RDR of interest using the supplied argumets. |
static RDR |
createRDR(Stats stats,
RDRName anRdrName,
AllData allData,
DataProducts dataProducts,
FixedDomainDescription drl)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rdrTable
private static java.util.HashMap<RDRName,RDR> rdrTable
RDRFactory
public RDRFactory()
add
public static void add(RDRName rdrName,
RDR rdr)
- For any RDR object created, it may be stored here through this method, duplicates
- Parameters:
rdrName
- RDRName of interestrdr
- RDR object of interest
createRDR
public static RDR createRDR(RDRName anRdrName,
AllData allData,
DataProducts dataProducts,
FixedDomainDescription drl)
throws RtStpsException
- Create the RDR of interest using the supplied argumets. If no RDR match is found, a default or basic RDR is created
using this class
BasicRDR
- Parameters:
anRdrName
- the RDRNameallData
- the All_Data objectdataProducts
- the DataProducts objectdrl
- the DRL domain
- Returns:
- a specific RDR
- Throws:
RtStpsException
- wraps any HDF exceptions
createRDR
public static RDR createRDR(Stats stats,
RDRName anRdrName,
AllData allData,
DataProducts dataProducts,
FixedDomainDescription drl)
throws RtStpsException
- Throws:
RtStpsException