|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.core.output.hdf5.RDR
public abstract class RDR
The basic guts of building the RDR HDF infrastructure. This class should be overridden for each specific RDR sensor including the Spacecraft Diary in use.
Field Summary | |
---|---|
private int |
depth
|
static java.lang.String |
DocumentName
|
private java.util.List<Granule> |
granuleList
|
private PacketPool |
packetPool
|
private java.util.LinkedList<RawApplicationPackets> |
raps
|
private RDRAll |
rdrAll
|
private RDRName |
rdrName
|
private RDRProduct |
rdrProduct
|
private int |
setNum
|
Constructor Summary | |
---|---|
RDR()
Deprecated. |
|
RDR(Stats stats,
RDRName rdrName,
AllData allData,
DataProducts dataProds,
FixedDomainDescription drl)
Build an RDR around the name, and other items |
Method Summary | |
---|---|
void |
close()
Finish up any local cleanup and close the rdrAll and rdrProduct... |
protected void |
createGranule(RawApplicationPackets rap)
Used to create the granule associated with the RawApplicationPacket structure, this method should be sufficient for most science sensors except for the Spacecraft Diary which is unique and has its own implementation. |
protected abstract RawApplicationPackets |
createRawApplicationPackets(RDRName rdrName)
Override this in the specific specific sensor RawApplicationPacket class |
private void |
finish()
Build the Aggregate and other wise clean up ... |
java.util.List<RawApplicationPackets> |
getAllRawApplicationPackets()
Return a list of RawApplicationsPacket objects that have been created in processing |
RawApplicationPackets |
getCurrentRawApplicationPackets()
Get the first (active) RawApplicationsPacket that have been created in processing |
(package private) int |
getDepth()
The current depth... |
(package private) java.util.List<Granule> |
getGranules()
Deprecated. |
(package private) PacketPool |
getPacketPool()
|
ProductIdentifiers |
getProductId()
Get the product identifier |
(package private) java.util.LinkedList<RawApplicationPackets> |
getRaps()
The list of RawApplicationPackets as LinkedList |
RDRAll |
getRDRAll()
Get the RDRAll object |
RDRName |
getRDRName()
Get the RDR name |
RDRProduct |
getRDRProduct()
Get the RDRProduct |
(package private) int |
getSetNum()
Get the current set number |
(package private) void |
nextSetNum()
Increment the set number |
void |
put(Packet p)
Put a packet into the RDR. |
(package private) void |
setDepth(int depth)
The counting depth of RawApplicationPacket, this is associated with an old implementation and probably should be deprecated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private RDRName rdrName
private RDRAll rdrAll
private RDRProduct rdrProduct
private java.util.LinkedList<RawApplicationPackets> raps
private int depth
private int setNum
private java.util.List<Granule> granuleList
public static java.lang.String DocumentName
private PacketPool packetPool
Constructor Detail |
---|
@Deprecated RDR()
public RDR(Stats stats, RDRName rdrName, AllData allData, DataProducts dataProds, FixedDomainDescription drl) throws RtStpsException
rdrName
- the RDR nameallData
- the AllData objectdataProds
- the DataProducts objectdrl
- the DRL domain
RtStpsException
- wraps various HDF exceptionsMethod Detail |
---|
public void put(Packet p) throws RtStpsException
p
- the Packet of interest
RtStpsException
- wraps any HDF or other exceptionsprotected abstract RawApplicationPackets createRawApplicationPackets(RDRName rdrName)
rdrName
- the RDE name
public RDRName getRDRName()
public RDRAll getRDRAll()
public RDRProduct getRDRProduct()
public java.util.List<RawApplicationPackets> getAllRawApplicationPackets()
public RawApplicationPackets getCurrentRawApplicationPackets()
public void close() throws RtStpsException
RtStpsException
- wraps any HDF or other exceptionsprotected void createGranule(RawApplicationPackets rap) throws RtStpsException
rap
- the RawApplicationPackets associated with a particular sensor
RtStpsException
- wraps any HDF or other exceptionsprivate void finish() throws RtStpsException
RtStpsException
public ProductIdentifiers getProductId()
final java.util.LinkedList<RawApplicationPackets> getRaps()
@Deprecated final java.util.List<Granule> getGranules()
final void nextSetNum()
final int getSetNum()
final void setDepth(int depth)
depth
- the new depthfinal int getDepth()
final PacketPool getPacketPool()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |