Simulcast 4.2

gov.nasa.gsfc.aisb.simulcast.util
Class HeaderBlock

java.lang.Object
  extended by gov.nasa.gsfc.aisb.simulcast.util.HeaderBlock
All Implemented Interfaces:
Block

public class HeaderBlock
extends java.lang.Object
implements Block


Constructor Summary
HeaderBlock(java.io.DataInput in)
           
HeaderBlock(GroundStation groundStation, int platformCode, int instrumentCode, int directionCode, int startSolarCode, long startedAt, Geo.Extents estExtents, boolean isGeolocated, boolean isDebowed, int coarsestResolution, int coarsestBlockRowCount, int coarsestBlockColCount, int nBands, int[] bandIndices, int[] bandResolutions, int[] bandBlockRowCounts, int[] bandBlockColCounts, int geoResolution, int geoBlockRowCount, int geoBlockColCount)
           
HeaderBlock(HeaderBlock header, boolean isGeolocated, boolean isDebowed)
          HeaderBlock.
 
Method Summary
 int getBandCount()
          getBandCount.
 int getBandIndex(int offset)
          getBandIndex.
 int getBandResolution(int offset)
          getBandResolution.
 int getBlockColCount(int offset)
          getBlockColCount.
 long getBlockCount()
          getBlockCount.
 int getBlockRowCount(int offset)
          getBlockRowCount.
 int getCoarsestBlockColCount()
          getCoarsestBlockColCount.
 int getCoarsestBlockRowCount()
          getCoarsestBlockRowCount.
 int getCoarsestResolution()
          getCoarsestResolution.
 int getDirectionCode()
          getDirectionCode.
 Geo.Extents getEstExtents()
          getEstExtents.
 int getGeoBlockColCount()
          getGeoBlockColCount.
 int getGeoBlockRowCount()
          getGeoBlockRowCount.
 int getGeoResolution()
          getGeoResolution.
 GroundStation getGroundStation()
          getGroundStation.
 int getInstrumentCode()
          getInstrumentCode.
 long getOffsetOfLastBlock()
          getOffsetOfLastBlock.
 int getPlatformCode()
          getPlatformCode.
 long getStartedAt()
          getStartedAt.
 int getStartSolarCode()
          getStartSolarCode.
 void incrBlockCount()
          incrBlockCount.
 void incrBlockCount(int count)
           
 boolean isDebowed()
          isDebowed.
 boolean isGeolocated()
          isGeolocated.
 void read(java.io.DataInput in)
          read.
 void setBandCount(int nBands)
          setBandCount.
 void setBandIndex(int offset, int bandIndex)
          setBandIndex.
 void setBandResolution(int offset, int bandResolution)
          setBandResolution.
 void setBlockColCount(int offset, int nBlockCols)
          setBlockColCount.
 void setBlockCount(long blockCount)
          setBlockCount.
 void setBlockRowCount(int offset, int nBlockRows)
          setBlockRowCount.
 void setCoarsestBlockColCount(int coarsestBlockColCount)
          setCoarsestBlockColCount.
 void setCoarsestBlockRowCount(int coarsestBlockRowCount)
          setCoarsestBlockRowCount.
 void setCoarsestResolution(int coarsestResolution)
          setCoarsestResolution.
 void setGeoBlockColCount(int geoBlockColCount)
          setGeoBlockColCount.
 void setGeoBlockRowCount(int geoBlockRowCount)
          setGeoBlockRowCount.
 void setGeoResolution(int geoResolution)
          setGeoResolution.
 void setOffsetOfLastBlock(long offsetOfLastBlock)
          setOffsetOfLastBlock.
 void write(java.io.DataOutput out)
          write.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderBlock

public HeaderBlock(HeaderBlock header,
                   boolean isGeolocated,
                   boolean isDebowed)
HeaderBlock.


HeaderBlock

public HeaderBlock(GroundStation groundStation,
                   int platformCode,
                   int instrumentCode,
                   int directionCode,
                   int startSolarCode,
                   long startedAt,
                   Geo.Extents estExtents,
                   boolean isGeolocated,
                   boolean isDebowed,
                   int coarsestResolution,
                   int coarsestBlockRowCount,
                   int coarsestBlockColCount,
                   int nBands,
                   int[] bandIndices,
                   int[] bandResolutions,
                   int[] bandBlockRowCounts,
                   int[] bandBlockColCounts,
                   int geoResolution,
                   int geoBlockRowCount,
                   int geoBlockColCount)

HeaderBlock

public HeaderBlock(java.io.DataInput in)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

read

public void read(java.io.DataInput in)
          throws java.lang.Exception
read.

Specified by:
read in interface Block
Throws:
java.lang.Exception

getGroundStation

public GroundStation getGroundStation()
getGroundStation.


getPlatformCode

public int getPlatformCode()
getPlatformCode.


getInstrumentCode

public int getInstrumentCode()
getInstrumentCode.


getDirectionCode

public int getDirectionCode()
getDirectionCode.


getStartSolarCode

public int getStartSolarCode()
getStartSolarCode.


getStartedAt

public long getStartedAt()
getStartedAt.


getEstExtents

public Geo.Extents getEstExtents()
getEstExtents.


isGeolocated

public boolean isGeolocated()
isGeolocated.


isDebowed

public boolean isDebowed()
isDebowed.


getCoarsestResolution

public int getCoarsestResolution()
getCoarsestResolution.


getCoarsestBlockRowCount

public int getCoarsestBlockRowCount()
getCoarsestBlockRowCount.


getCoarsestBlockColCount

public int getCoarsestBlockColCount()
getCoarsestBlockColCount.


getBandCount

public int getBandCount()
getBandCount.


getBandIndex

public int getBandIndex(int offset)
getBandIndex.


getBandResolution

public int getBandResolution(int offset)
getBandResolution.


getBlockRowCount

public int getBlockRowCount(int offset)
getBlockRowCount.


getBlockColCount

public int getBlockColCount(int offset)
getBlockColCount.


getGeoResolution

public int getGeoResolution()
getGeoResolution.


getGeoBlockRowCount

public int getGeoBlockRowCount()
getGeoBlockRowCount.


getGeoBlockColCount

public int getGeoBlockColCount()
getGeoBlockColCount.


getBlockCount

public long getBlockCount()
getBlockCount.


getOffsetOfLastBlock

public long getOffsetOfLastBlock()
getOffsetOfLastBlock.


setCoarsestResolution

public void setCoarsestResolution(int coarsestResolution)
setCoarsestResolution.


setCoarsestBlockRowCount

public void setCoarsestBlockRowCount(int coarsestBlockRowCount)
setCoarsestBlockRowCount.


setCoarsestBlockColCount

public void setCoarsestBlockColCount(int coarsestBlockColCount)
setCoarsestBlockColCount.


setBandCount

public void setBandCount(int nBands)
setBandCount.


setBandIndex

public void setBandIndex(int offset,
                         int bandIndex)
setBandIndex.


setBandResolution

public void setBandResolution(int offset,
                              int bandResolution)
setBandResolution.


setBlockRowCount

public void setBlockRowCount(int offset,
                             int nBlockRows)
setBlockRowCount.


setBlockColCount

public void setBlockColCount(int offset,
                             int nBlockCols)
setBlockColCount.


setGeoResolution

public void setGeoResolution(int geoResolution)
setGeoResolution.


setGeoBlockRowCount

public void setGeoBlockRowCount(int geoBlockRowCount)
setGeoBlockRowCount.


setGeoBlockColCount

public void setGeoBlockColCount(int geoBlockColCount)
setGeoBlockColCount.


setBlockCount

public void setBlockCount(long blockCount)
setBlockCount.


incrBlockCount

public void incrBlockCount()
incrBlockCount.


incrBlockCount

public void incrBlockCount(int count)

setOffsetOfLastBlock

public void setOffsetOfLastBlock(long offsetOfLastBlock)
setOffsetOfLastBlock.


write

public void write(java.io.DataOutput out)
           throws java.lang.Exception
write.

Specified by:
write in interface Block
Throws:
java.lang.Exception

Simulcast 4.2